๐Ÿ’พ Why MB-to-GB Math Never Adds Up

Why a 256GB drive shows up as 238GB โ€” 1000 vs 1024.

If you bought a 256GB drive and your computer shows 238GB, and you wondered if the capacity had somehow shrunk, it's because two different counting systems are at play.

Manufacturer (base 1000) vs. OS (base 1024)

Storage manufacturers calculate capacity using base 1000: 1GB = 1,000MB = 1,000,000,000 bytes. Operating systems like Windows and macOS instead calculate using base 1024: 1GB = 1024MB = 1,073,741,824 bytes.

Why 256GB shows up as 238GB

Dividing 256,000,000,000 bytes (the manufacturer's 256GB) by the base-1024 figure (1,073,741,824) gives about 238. The drive isn't defective or misrepresented โ€” the two sides are just counting differently.

The technically correct unit: GiB

To avoid this confusion, the base-1024 unit is formally called a GiB (gibibyte). In practice, though, most operating systems still just label it "GB," so the confusion persists.

Which base to use when converting

Use base 1000 when reasoning about a drive's advertised (packaging) capacity, and base 1024 when predicting what your computer will actually display โ€” understanding both explains why the two numbers never match.

Try it now

FastestUnitConverter's data storage converter handles KB, MB, GB, and TB all at once.

Open the data storage converter โ†’

More guides

โฑ๏ธ
Converting seconds to H:M:S
Video timestamps & interval timers
๐Ÿ“
Converting degrees to radians
Avoiding trig & coding mistakes

Other converters

๐Ÿ“
Length
Convert meters, feet, miles & more
โš–๏ธ
Weight
Convert kilograms, pounds & more
๐Ÿ“
Area
Convert square meters, acres & more
๐Ÿงช
Volume
Convert liters, gallons, cups & more
๐ŸŒก๏ธ
Temperature
Convert Celsius, Fahrenheit & Kelvin
๐Ÿš€
Speed
Convert km/h, mph, knots & more
โฑ๏ธ
Time
Convert seconds, minutes, hours & more
๐Ÿ’พ
Data Storage
Convert KB, MB, GB, TB & more
๐ŸŽš๏ธ
Pressure
Convert atm, bar, psi & more
โšก
Energy
Convert calories, joules, kWh & more
โ›ฝ
Fuel Economy
Convert km/L, mpg, L/100km
๐Ÿ“
Angle
Convert degrees, radians, gradians & more
๐Ÿ”Œ
Power
Convert watts, horsepower, PS & more