Captain Code Labs

Unit Converter Universal

The most precise tool for converting physical and digital scales. From Angstroms to Light Years, from Bits to Petabytes.

Precise Engineering 8 Categories Metric & Imperial Scientific

Battle of the Centuries:
Metric vs Imperial

Do you know why the US still uses 'inches' and 'feet' while the rest of the world has adopted the 'meter'? The story goes back to the French Revolution (1799). The French decided to create a system based on nature (one ten-millionth of the distance from the equator to the North Pole) called the 'meter'.

In contrast, the British Imperial system was based on the bodies of kings! For example, a 'foot' was literally the length of the king's foot, and a 'yard' was the distance from King Henry I's nose to the tip of his finger.

warning The $327 Million Disaster!

In 1999, NASA's Mars Climate Orbiter burned up in space. Why? Because Lockheed Martin's engineering team used the 'Imperial' system (Pound-force), but NASA's team assumed it was 'Metric' (Newton). A simple unit conversion that wasn't done!

Key Differences

SI (Metric) Base 10
1 m = 100 cm

Logical and Scientific

Imperial (US) base: 12, 3, 1760
1 ft = 12 in

Dizzying!

Countries using Imperial:

USA 🇺🇸 Liberia 🇱🇷 Myanmar 🇲🇲

(Yes, only these 3 countries!)

thermostat

Thermometer: Cold and Hot War

Celsius (°C)

Pure logic! Water's freezing point is 0 and boiling is 100. The global standard for science and daily life (except the US).

Fahrenheit (°F)

Designed for human feeling. 100°F is roughly human body temperature. Offers more precision for weather.

Kelvin (K)

The language of the universe. Absolute Zero (0 K) is where molecular movement stops (-273.15°C). Only K is valid in physics formulas.
fitness_center

Weight or Mass? That is the question!

In daily conversation we treat 'weight' and 'mass' as the same, but in physics the difference is night and day.

Mass

The amount of matter in you. Unit: kg. Constant everywhere in the universe.

Weight

The force of gravity on your mass. Unit: N. Changes on the moon!

If your mass is 70 kg:

Mass = 70 kg

Weight on Earth: 686 N

Weight on Moon: 113 N (Feeling light!)

memory Where is the real Gigabyte? (Decimal vs Binary)

Why when you buy a 1 TB drive, Windows only shows 931 GB? Scam? No! The difference is in the definition.

  • Hard drive manufacturers: 1 KB = 1000 bytes (Decimal)
  • Windows: 1 KB = 1024 bytes (Binary)
Marketing Windows
1 TB → 0.909 TiB
500 GB → 465 GiB
64 GB → 59.6 GiB
restaurant_menu

Cooking Nightmare: Cups or Grams?

The biggest issue with foreign recipes is the 'Cup'. A cup is volume, but grams are weight!
1 Cup of flour (120 g) is not equal to 1 Cup of sugar (200 g)!

1 Cup Water → 240 ml / 240 g
1 Cup Flour → ~120 g
1 Cup Sugar → ~200 g
directions_car

Speed and Fuel Consumption

If you have an imported car, the speedometer is probably in MPH.
Remember: 100 MPH = 160 km/h! If you think you're going 100, you are flying.

30 MPH → 48 km/h
60 MPH → 96 km/h
1 L/100km → ~235 MPG
network_check Internet Speed Truth

Internet Speed Riddle: Megabit or MB?

When you buy 16 Mbps internet, why is your download speed only 2 MB/s? Is the ISP stealing? No!

  • close
    Advertisement (ISP):

    Speed is sold in Mb/s (Megabits).

  • check
    Reality (You):

    Files are downloaded in MB/s (Megabytes).

Magic formula: Divide the speed by 8.

Cheat Sheet
Advertised Speed
Actual Download
8 Mbps
1 MB/s
16 Mbps
2 MB/s
40 Mbps (VDSL)
5 MB/s
100 Mbps (FTTH)
12.5 MB/s
1 Gbps
125 MB/s

Scientific Definitions: How long is a Meter really?

In 2019, scientists changed the definitions of all units to 'physical constants' so they are no longer dependent on physical objects.

speed

Meter

The distance light travels in a vacuum in 1/299,792,458 of a second. No more metal rod in Paris!
schedule

Second

The duration of 9,192,631,770 oscillations of the radiation from a Cesium-133 atom. The world's most precise atomic clocks work on this basis.
fitness_center

Kilogram

No longer based on the 'Grand K' weight! It is now defined by the 'Planck constant'. This is the most complex definition among all base units.

Frequently Asked Questions

Answers to common confusions in unit conversion

Yes! A regular ounce (Avoirdupois) is about 28.35 grams, but a Troy Ounce of gold is about 31.1 grams. Be careful in the gold market!

The Floating Point standard in computers causes very tiny errors (e.g., 0.999999). We round results to 8 decimal places so you see the most accurate value possible.

Capital B means Byte (file size), lowercase b means bit (internet speed). A 16Mbps speed means downloading at 2MB/s.

checkroom

Online Clothes Shopping

When buying from foreign sites, shoe and clothing sizes differ.
flight

Traveling Abroad

In the US and UK, speed signs are in MPH.
science

Lab & Medical

Blood test results use different units in various countries.
water_drop Volume Mastery

Liquid Volume:
Liter, Gallon, Cup

In cooking and industry, volume conversion is very common. Liter (L) is the metric standard, but Americans use Gallon and Quart. Even the US Cup differs from the UK Cup!

US 1 US Gallon = 3.785 L
UK 1 UK Gallon = 4.546 L
ML 1 US Cup = 236.6 mL

Quick Liquids Conversion Table

Metric
US
UK
1 Liter
0.26 gal
0.22 gal
500 mL
2.1 cups
1.8 cups
100 mL
3.4 fl oz
3.5 fl oz
quiz

More Questions

Kilo means thousand in Greek. But in the digital world, 1 KB = 1024 bytes (not 1000) due to the binary system (power of 2). To avoid confusion, the IEC standard introduced the Kibibyte (KiB) unit.

A large Calorie (Cal or kcal) is what you see on food labels. One Cal equals 1000 small calories. When they say an apple has 95 Calories, it means 95,000 physical calories!

Divide your height in cm by 2.54 to get inches. Then divide inches by 12. For example, 175 cm = 5 ft 9 in.

No! All calculations are done offline in your browser. No data is sent to the server. Your privacy is important to us.

calculate

Conversion, Without Errors

The Captain Code Unit Converter tool is a comprehensive calculator for all physical and digital scales. From calculating real internet speed to temperature conversion for baking, we cover all your needs. Precise, fast, and totally free.

Start today. Just enter the number!