CCalclabhub

Data

Unit conversion

Each unit is expressed in bytes, so the ratio of factors converts directly.

The Formula

Result = value x from / to

Each unit is expressed in bytes, so the ratio of factors converts directly.

SymbolMeaning
vValue
fFrom factor
tTo factor

What Each Symbol Means

vnumber

Value

Amount to convert.

fnumber

From factor

Source unit size in bytes.

tnumber

To factor

Target unit size in bytes.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to convert data sizes page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Convert Data Sizes, filed under Unit Conversion. Every number the guide produces comes from substituting into this one line.