Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7074819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:06:13+00:00 2026-05-28T06:06:13+00:00

I’ve recently discovered that MB/s is technically equivalent to 8 million bits/s and not

  • 0

I’ve recently discovered that MB/s is technically equivalent to 8 million bits/s
and not 10242 bits per second which should be called a Mebibyte.

This should be easy, but when comparing output from various sources I get different answers, even from google which thinks there is no difference at all between the measures.

If I transfer 1381530 bytes in 17797601 nanoseconds, what is the data rate in those two measures? and what is the formula you’re using to calculate it?

Currently I have: where duration is in nanoseconds.

double data_rate_MiBps = (num_bytes/1024/1000) / ((double)duration * 1e-9);
double data_rate_MBps = (num_bytes/1024/1024) / ((double)duration * 1e-9);

Thanks for the responses. I was ending up with numbers that didn’t make sense before but now they do. The above code should be the following:

double data_rate_MiBps = (num_bytes/1024.0/1000.0) / ((double)duration * 1e-9);
double data_rate_MBps = (num_bytes/1024.0/1024.0) / ((double)duration * 1e-9);

I therefore get:

74.085 MiB/s
75.863 MB/s

Which I think makes sense.

Probably a better question. Why in the first place was 1024 bytes chosen to be 1KB instead of 1000. Since Kilo (etc) = 1000 everywhere else.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:06:14+00:00Added an answer on May 28, 2026 at 6:06 am

    If I transfer 1381530 bytes in 17797601 nanoseconds, what is the data rate in those two measures?

    0.0776 bytes/ns.

    First, careful:

    I’ve recently discovered that MB/s is technically equivalent to 8000 million bits/s

    I’ve never heard of this definition.

    "MB/s" usually means "megabytes per second". This can be one of two definitions, depending on who you ask:

    • 1 million bytes per second (8 million bits per second) (per the IEEE’s definition)
    • The more commonly seen definition of 1024 * 1024 (1048576) bytes per second (8388608 bits per second), seen commonly in many usages.

    In some really, really rare cases, "MB/s" could mean "megabits per second", but megabits per second is usually abbreviated to "Mbps" or "Mbits/s". The context will most often clue you in on which is appropriate: wireless transmission speeds, ethernet cards, etc. are typically measured in megabits per second; file transfers over the internet are measured in megabytes (or mebibyte, see next paragraph) per second.

    The IEEE has proposed that computers should follow the SI prefixes, and use "Kilobyte" to mean 103 bytes, not 210 bytes, which has been done historically. (And thus created all the confusion over which definition of a megabyte one is actually using.) However, in many contexts, 103 makes little sense, so different "binary" prefixes were introduced, such as the "Kibibyte", which is abbreviated KiB and always means 1024 bytes. In your case, there is it "Mebibyte", or MiB (and when per second, MiB/s) and means 1024*1024 bytes.

    See the Wikipedia article on the Megabyte for more info.

    (For the conversions to bits/s, I’ve assumed 8 bits/byte.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I have a text area in my form which accepts all possible characters from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.