Monday, December 3, 2012

Does iOS Report Usage in Mebibytes or Megabytes?

Quick answer: megabytes (1 × 106 bytes).

With data caps being all the rage these days you might be wondering how you can check your data usage in iOS. It’s simple. Go to Settings > General > Usage > Cellular Usage:


But since I’m a computer guy, I want to know: is this measured in base-2 bytes (e.g. mebibytes) or base-10 bytes (megabytes)?

I couldn’t tell and the docs weren’t clear so I tested it. First I needed a test file. I took a video file and used 7zip to build a file that’s exactly 10 MB in size:


I chose a video file to make sure compression on the network or in the app I use to test this wouldn’t affect my results (video is already compressed so it won’t benefit from additional compression). I zipped it because that’s an easy way to slice off 10 MB of it (and it also further insures that the result is not compressible).

And that blob of 10,485,760 bytes is truly 10 mebibytes (10 × 220):


To see what affect this has, I downloaded the file to my phone with Dropbox and checked the affect on my usage. If iOS uses the binary-based definition of a megabyte (220), it should show “10.0 MB”. If it uses that other definition of a megabyte (106), it should show “10.4 MB” (or “10.5 MB” if there’s any rounding). Let’s see:

2012-11-30 15.02.202012-11-30 15.04.05

This took a few minutes. And the result:

2012-11-30 15.04.43

10.4 MB. Well there you have it: it uses the base-10 definition.


Taibai Li said...

qihang0611coach outlet store online
pandora jewelry
michael kors outlet
oakley sunglasses
coach factory outlet
christian louboutin sale
coach outlet
true religion jeans
toms shoes
nike air max
chanel online shop
ralph lauren
ray ban sunglass
polo ralph lauren
tory burch outlet
burberry outlet online
gucci outlet online
ray ban uk
kate spade uk
cheap ray ban sunglasses
ray ban glasses
cheap jordans
coach outlet
true religion
toms outlet
michael kors bags
michael kors outlet online
coach outlet online
michael kors bag

mao qiuyun said...

juicy couture outlet
soccer jerseys
ralph lauren outlet
hermes bags,
christian louboutin outlet
louis vuitton bags,
louis vuitton handbags
cheap nfl jerseys,
fitflop shoes
ugg boots,
oakley sunglasses wholesale,
michael kors uk
michael kors outlet
the north face clearance
manchester united jersey
iphone 6 cases
michael kors uk
rolex watches
coach outlet store,
giuseppe zanotti outlet
converse all star
air max 2015
mcm handbags
michael kors factory outlet,
michael kors factory outlet,
cheap soccer jerseys
true religion jeans,
tory burch shoes
hermes birkin
coach outlet
tory burch outlet online
oakley sunglasses