Pikkola Measure Studio, tool No. 40

One measure, four ways to say it.

Bytes and line speed, px and rem, a frame and its ratio, a number in four bases. Four converters that developers and designers keep reaching for, in one page, with every figure computed here in the tab and nothing sent anywhere.

4
converters
0
requests sent
EN · KO · JA
three languages

The four converters

Pick a tab, type a number

Each tab is one idea and its arithmetic. Nothing on this page needs a sign in, and nothing leaves the tab.

Data size and line speed

One number in one unit becomes the same size in every other unit, and then the time it takes to move over a line you choose.

The value1,000,000,000 B

Samples

A kilobyte here is 1,000 bytes, which is what a drive label and a network rate mean.

A kibibyte is 1,024 bytes, which is what an operating system usually reports.

How long it takes

The file above at the line rate below. Bytes are counted as eight bits each.

Transfer time 1 min 20 s 80 s

The same file at other rates

A line rate in Mbps is megabits per second, not megabytes. 100 Mbps moves about 12.5 MB in a second.

Reading a unit

Three habits that save a wrong number

Each tab is small, and each has one place where people usually slip.

01

Keep the two families apart

A kilobyte is 1,000 bytes and a kibibyte is 1,024. The gap is 2.4% at the kilobyte and 10% by the terabyte, which is where a drive that says 1 TB shows 931 GB in an operating system that counts in twos. Write the family, not just the letter.

02

rem is the page, em is the element

A rem is measured from the root font size, so 1.5rem is the same everywhere. An em is measured from the element's own size, so 1.5em inside a 20px parent is 30px, and inside its child it compounds again. Pick one for a scale and the other for a component.

03

The same bits, two readings

Unsigned and signed do not change a single bit. In 8 bits, 11111111 is 255 when the top bit is a number and -1 when it is a sign. Every overflow, every colour channel and every file format decides which reading it means, and never both.

Questions

When is a kilobyte 1,024 bytes?

Almost never in a spec, often in an operating system. SI says a kilobyte is 1,000 bytes and IEC says a kibibyte is 1,024. macOS and Linux report storage in powers of ten now, Windows still reports powers of two under the old names. This page keeps the two families apart so the gap cannot hide.

Why does a 1 Gbps line not download a gigabyte in eight seconds?

Because a gigabyte is eight gigabits, so 1 GB at 1 Gbps is about eight seconds on paper and more in practice. Headers, acknowledgements and the server's own speed take a share, which is why the calculator offers 85% of the line.

Should I use rem or em?

rem is relative to the root element and stays put wherever you use it. em is relative to the element's own font size, so it compounds in nested elements. Use rem for a scale and em for a component that should shrink or grow with its own text.

Why is a subtle font size written with three decimals?

Because the browser computes the middle term at each width, and 0.0417vw of a 1440px window is 0.6px. The rounding only becomes visible at the ends of the range, where the clamp holds the value still.

What does two's complement mean in the bit view?

The top bit is read as a sign. In 8 bits, 11111111 is 255 unsigned and -1 signed, because the value is 255 minus 256. The bit pattern does not change; only the reading does.

Does anything get uploaded?

No. Every figure is computed in this tab, the content policy forbids network requests, and there is no server that could receive a number. Only the language, the theme and the last values you typed are kept in this browser.