units.json

Unit conversion reference data • CC BY 4.0 License

Download JSON
{
  "meta": {
    "title": "Unit Conversion Reference Data",
    "description": "Comprehensive unit conversions for length, temperature, area, volume, speed, pressure, electrical units, and more",
    "source": "Able-Hearts.org",
    "license": "CC BY 4.0",
    "url": "https://able-hearts.org/reference/units",
    "version": "1.0.0",
    "lastUpdated": "2025-11-12"
  },
  "categories": {
    "length": {
      "name": "Length / Distance",
      "symbol": "📐",
      "units": {
        "mm": {
          "name": "Millimeter",
          "tts": "millimeter or millimeters",
          "toMeters": 0.001,
          "commonUse": "Small measurements, rain",
          "conversions": {
            "in": 0.0394
          }
        },
        "cm": {
          "name": "Centimeter",
          "tts": "centimeter or centimeters",
          "toMeters": 0.01,
          "commonUse": "Everyday objects, height",
          "conversions": {
            "in": 0.394
          }
        },
        "m": {
          "name": "Meter",
          "tts": "meter or meters",
          "toMeters": 1,
          "commonUse": "Standard SI unit, room dimensions",
          "conversions": {
            "ft": 3.281,
            "yd": 1.094
          }
        },
        "km": {
          "name": "Kilometer",
          "tts": "kilometer or kilometers",
          "toMeters": 1000,
          "commonUse": "Distance between cities, roads",
          "conversions": {
            "mi": 0.621
          }
        },
        "in": {
          "name": "Inch",
          "tts": "inch or inches",
          "toMeters": 0.0254,
          "commonUse": "Screen size, imperial",
          "conversions": {
            "cm": 2.54
          }
        },
        "ft": {
          "name": "Foot",
          "tts": "foot or feet",
          "toMeters": 0.3048,
          "commonUse": "Height, building dimensions",
          "conversions": {
            "in": 12,
            "cm": 30.48
          }
        },
        "yd": {
          "name": "Yard",
          "tts": "yard or yards",
          "toMeters": 0.9144,
          "commonUse": "Football field, fabric",
          "conversions": {
            "ft": 3,
            "m": 0.914
          }
        },
        "mi": {
          "name": "Mile",
          "tts": "mile or miles",
          "toMeters": 1609.34,
          "commonUse": "Long distances, roads (US)",
          "conversions": {
            "ft": 5280,
            "km": 1.609
          }
        }
      }
    },
    "temperature": {
      "name": "Temperature",
      "symbol": "🌡️",
      "units": {
        "C": {
          "name": "Celsius",
          "symbol": "°C",
          "tts": "degrees Celsius or Celsius",
          "waterFreeze": 0,
          "waterBoil": 100,
          "roomTemp": "20-25",
          "bodyTemp": 37,
          "toKelvin": "K = C + 273.15",
          "toFahrenheit": "F = (C × 9/5) + 32"
        },
        "F": {
          "name": "Fahrenheit",
          "symbol": "°F",
          "tts": "degrees Fahrenheit or Fahrenheit",
          "waterFreeze": 32,
          "waterBoil": 212,
          "roomTemp": "68-77",
          "bodyTemp": 98.6,
          "toCelsius": "C = (F - 32) × 5/9",
          "toKelvin": "K = (F - 32) × 5/9 + 273.15"
        },
        "K": {
          "name": "Kelvin",
          "symbol": "K",
          "tts": "Kelvin",
          "absoluteZero": 0,
          "waterFreeze": 273.15,
          "waterBoil": 373.15,
          "roomTemp": "293-298",
          "toCelsius": "C = K - 273.15",
          "toFahrenheit": "F = (K - 273.15) × 9/5 + 32"
        }
      }
    },
    "electrical": {
      "name": "Electrical Units",
      "symbol": "⚡",
      "units": {
        "V": {
          "name": "Volt",
          "tts": "volt or volts",
          "description": "Electrical potential difference",
          "examples": {
            "AABattery": "1.5 V",
            "carBattery": "12 V",
            "USHousehold": "110-120 V",
            "EUHousehold": "220-240 V",
            "transmission": "500 kV"
          }
        },
        "A": {
          "name": "Ampere",
          "tts": "ampere or amp or amps",
          "description": "Flow of electrical charge",
          "examples": {
            "USBCharger": "~2 A",
            "householdCircuit": "15-20 A",
            "EVCharger": "32-80 A",
            "lightning": "~30,000 A"
          }
        },
        "W": {
          "name": "Watt",
          "tts": "watt or watts",
          "description": "Rate of energy transfer (Power)",
          "formula": "W = V × A",
          "examples": {
            "LEDBulb": "8-15 W",
            "laptop": "45-100 W",
            "microwave": "1000-1200 W",
            "electricCar": "150-300 kW",
            "powerPlant": "500-1000 MW"
          }
        },
        "kWh": {
          "name": "Kilowatt-hour",
          "tts": "kilowatt-hour or kilowatt-hours",
          "description": "Energy unit for electricity bills",
          "formula": "1 kWh = 1000 W for 1 hour = 3.6 MJ",
          "examples": {
            "smartphone": "10-20 Wh",
            "laptop": "50-100 Wh",
            "electricCar": "50-100 kWh",
            "homePerMonth": "800-1000 kWh"
          }
        },
        "Ω": {
          "name": "Ohm",
          "symbol": "Ω",
          "tts": "ohm or ohms",
          "description": "Electrical resistance"
        },
        "Hz": {
          "name": "Hertz",
          "tts": "hertz",
          "description": "Frequency (cycles per second)",
          "examples": {
            "USGrid": "60 Hz",
            "EUGrid": "50 Hz",
            "WiFi24": "2.4 GHz",
            "WiFi5": "5 GHz"
          }
        }
      }
    },
    "area": {
      "name": "Area",
      "symbol": "📐",
      "units": {
        "m²": {
          "name": "Square meter",
          "tts": "square meter or square meters",
          "toSqMeters": 1,
          "commonUse": "Room size",
          "conversions": {
            "ft²": 10.764
          }
        },
        "cm²": {
          "name": "Square centimeter",
          "tts": "square centimeter or square centimeters",
          "toSqMeters": 0.0001,
          "commonUse": "Small objects"
        },
        "km²": {
          "name": "Square kilometer",
          "tts": "square kilometer or square kilometers",
          "toSqMeters": 1000000,
          "commonUse": "Land area, cities",
          "conversions": {
            "mi²": 0.386
          }
        },
        "in²": {
          "name": "Square inch",
          "tts": "square inch or square inches",
          "toSqMeters": 0.00064516,
          "commonUse": "Screen size"
        },
        "ft²": {
          "name": "Square foot",
          "tts": "square foot or square feet",
          "toSqMeters": 0.092903,
          "commonUse": "Room size (US)"
        }
      }
    },
    "volume": {
      "name": "Volume",
      "symbol": "🧊",
      "units": {
        "m³": {
          "name": "Cubic meter",
          "tts": "cubic meter or cubic meters",
          "toCubicMeters": 1,
          "commonUse": "Room volume"
        },
        "cm³": {
          "name": "Cubic centimeter",
          "tts": "cubic centimeter or cubic centimeters",
          "toCubicMeters": 0.000001,
          "commonUse": "Small objects",
          "conversions": {
            "mL": 1
          }
        },
        "L": {
          "name": "Liter",
          "tts": "liter or liters",
          "toCubicMeters": 0.001,
          "commonUse": "Liquids",
          "conversions": {
            "gal": 0.264
          }
        },
        "mL": {
          "name": "Milliliter",
          "tts": "milliliter or milliliters",
          "toCubicMeters": 0.000001,
          "commonUse": "Small liquid amounts",
          "conversions": {
            "cm³": 1
          }
        },
        "gal": {
          "name": "Gallon",
          "tts": "gallon or gallons",
          "toCubicMeters": 0.00378541,
          "commonUse": "Fuel, milk (US)",
          "conversions": {
            "L": 3.785
          }
        }
      }
    },
    "speed": {
      "name": "Speed",
      "symbol": "🚀",
      "units": {
        "km/h": {
          "name": "Kilometers per hour",
          "tts": "kilometers per hour",
          "toMetersPerSecond": 0.277778,
          "commonUse": "Vehicle speed (metric)"
        },
        "m/s": {
          "name": "Meters per second",
          "tts": "meters per second",
          "toMetersPerSecond": 1,
          "commonUse": "Physics, science"
        },
        "mph": {
          "name": "Miles per hour",
          "tts": "miles per hour",
          "toMetersPerSecond": 0.44704,
          "commonUse": "Vehicle speed (US)",
          "conversions": {
            "km/h": 1.609
          }
        }
      }
    },
    "pressure": {
      "name": "Pressure",
      "symbol": "🌊",
      "units": {
        "kPa": {
          "name": "Kilopascal",
          "tts": "kilopascal or kilopascals",
          "toPascals": 1000,
          "commonUse": "Tire pressure, weather",
          "seaLevel": "101 kPa"
        },
        "atm": {
          "name": "Atmosphere",
          "tts": "atmosphere or atmospheres",
          "toPascals": 101325,
          "commonUse": "Older pressure standard",
          "seaLevel": "1 atm"
        },
        "psi": {
          "name": "Pounds per square inch",
          "tts": "P S I or pounds per square inch",
          "toPascals": 6894.76,
          "commonUse": "Tire pressure (US)",
          "seaLevel": "14.7 psi"
        },
        "mmHg": {
          "name": "Millimeters of mercury",
          "tts": "millimeters of mercury",
          "toPascals": 133.322,
          "commonUse": "Blood pressure, barometers",
          "seaLevel": "760 mmHg"
        },
        "bar": {
          "name": "Bar",
          "tts": "bar",
          "toPascals": 100000,
          "commonUse": "Meteorology",
          "seaLevel": "~1 bar"
        }
      }
    },
    "energy": {
      "name": "Energy",
      "symbol": "🔋",
      "units": {
        "J": {
          "name": "Joule",
          "tts": "joule or joules",
          "toJoules": 1,
          "description": "SI unit of energy",
          "formula": "1 J = 1 N·m"
        },
        "Wh": {
          "name": "Watt-hour",
          "tts": "watt-hour or watt-hours",
          "toJoules": 3600,
          "description": "Energy unit for batteries",
          "commonUse": "Phone/laptop batteries"
        },
        "kWh": {
          "name": "Kilowatt-hour",
          "tts": "kilowatt-hour or kilowatt-hours",
          "toJoules": 3600000,
          "description": "Energy unit for electricity",
          "commonUse": "Electric bills, EV batteries"
        },
        "cal": {
          "name": "Calorie",
          "tts": "calorie or calories",
          "toJoules": 4.184,
          "description": "Food energy (small calorie)"
        },
        "Cal": {
          "name": "Kilocalorie",
          "tts": "kilocalorie or Calorie",
          "toJoules": 4184,
          "description": "Food energy (large Calorie = 1000 cal)"
        }
      }
    },
    "largeNumbers": {
      "name": "Large Numbers",
      "symbol": "🔢",
      "units": {
        "thousand": {
          "name": "Thousand",
          "tts": "thousand",
          "value": 1000,
          "notation": "1,000 or 10³",
          "examples": "1K = 1,000"
        },
        "million": {
          "name": "Million",
          "tts": "million",
          "value": 1000000,
          "notation": "1,000,000 or 10⁶",
          "examples": "1M = 1,000,000"
        },
        "billion": {
          "name": "Billion",
          "tts": "billion",
          "value": 1000000000,
          "notation": "1,000,000,000 or 10⁹",
          "examples": "1B = 1,000,000,000"
        },
        "trillion": {
          "name": "Trillion",
          "tts": "trillion",
          "value": 1000000000000,
          "notation": "1,000,000,000,000 or 10¹²",
          "examples": "1T = 10¹²"
        },
        "quadrillion": {
          "name": "Quadrillion",
          "tts": "quadrillion",
          "value": 1000000000000000,
          "notation": "10¹⁵",
          "examples": "1,000 trillion"
        },
        "quintillion": {
          "name": "Quintillion",
          "tts": "quintillion",
          "value": 1000000000000000000,
          "notation": "10¹⁸",
          "examples": "1,000 quadrillion"
        }
      }
    },
    "dataStorage": {
      "name": "Data Storage / Memory",
      "symbol": "💾",
      "units": {
        "B": {
          "name": "Byte",
          "tts": "byte or bytes",
          "toBytes": 1,
          "description": "Basic unit of digital information",
          "note": "1 byte = 8 bits"
        },
        "KB": {
          "name": "Kilobyte",
          "tts": "kilobyte or kilobytes",
          "toBytes": 1024,
          "description": "Small files, text documents",
          "examples": "Email (5-50 KB)"
        },
        "MB": {
          "name": "Megabyte",
          "tts": "megabyte or megabytes",
          "toBytes": 1048576,
          "description": "Photos, songs, small videos",
          "examples": "Photo (1-5 MB), Song (3-5 MB)"
        },
        "GB": {
          "name": "Gigabyte",
          "tts": "gigabyte or gigabytes",
          "toBytes": 1073741824,
          "description": "Movies, large files, phone storage",
          "examples": "Movie (1-5 GB), Phone storage (64-256 GB)"
        },
        "TB": {
          "name": "Terabyte",
          "tts": "terabyte or terabytes",
          "toBytes": 1099511627776,
          "description": "Hard drives, server storage",
          "examples": "External HDD (1-4 TB)"
        },
        "PB": {
          "name": "Petabyte",
          "tts": "petabyte or petabytes",
          "toBytes": 1125899906842624,
          "description": "Data centers, enterprise storage",
          "examples": "1 PB = 1,000 TB"
        },
        "EB": {
          "name": "Exabyte",
          "tts": "exabyte or exabytes",
          "value": "1,152,921,504,606,846,976",
          "description": "Global data storage scale",
          "examples": "Internet traffic per day"
        },
        "ZB": {
          "name": "Zettabyte",
          "tts": "zettabyte or zettabytes",
          "notation": "10²¹ bytes",
          "description": "Planetary-scale data",
          "examples": "All human data combined"
        }
      }
    },
    "networkSpeed": {
      "name": "Network Speed / Bandwidth",
      "symbol": "📡",
      "units": {
        "bps": {
          "name": "Bits per second",
          "tts": "bits per second",
          "toBitsPerSecond": 1,
          "description": "Basic network speed unit"
        },
        "Kbps": {
          "name": "Kilobits per second",
          "tts": "kilobits per second",
          "toBitsPerSecond": 1000,
          "description": "Dial-up, basic connections",
          "examples": "Dial-up (56 Kbps)"
        },
        "Mbps": {
          "name": "Megabits per second",
          "tts": "megabits per second",
          "toBitsPerSecond": 1000000,
          "description": "Home internet, WiFi",
          "examples": "Home WiFi (50-500 Mbps), 4G (10-50 Mbps)"
        },
        "Gbps": {
          "name": "Gigabits per second",
          "tts": "gigabits per second",
          "toBitsPerSecond": 1000000000,
          "description": "Fiber optic, enterprise networks",
          "examples": "Fiber (1 Gbps), 5G (1-10 Gbps)"
        },
        "Tbps": {
          "name": "Terabits per second",
          "tts": "terabits per second",
          "toBitsPerSecond": 1000000000000,
          "description": "Backbone internet infrastructure",
          "examples": "Undersea cables"
        }
      }
    },
    "scientificConstants": {
      "name": "Scientific Constants",
      "symbol": "🔬",
      "constants": {
        "c": {
          "name": "Speed of Light",
          "symbol": "c",
          "tts": "speed of light or C",
          "value": "299,792,458 m/s",
          "description": "Universal speed limit",
          "examples": "Light travels ~300,000 km/s in vacuum"
        },
        "Na": {
          "name": "Avogadro's Constant",
          "symbol": "Nₐ",
          "tts": "Avogadro's constant or Avogadro's number",
          "value": "6.022 × 10²³ mol⁻¹",
          "description": "Number of particles in one mole",
          "examples": "1 mole of carbon-12 has 6.022×10²³ atoms"
        },
        "h": {
          "name": "Planck's Constant",
          "symbol": "h",
          "tts": "Planck's constant",
          "value": "6.626 × 10⁻³⁴ J·s",
          "description": "Quantum of electromagnetic action"
        },
        "G": {
          "name": "Gravitational Constant",
          "symbol": "G",
          "tts": "gravitational constant or big G",
          "value": "6.674 × 10⁻¹¹ N·m²/kg²",
          "description": "Universal gravitation constant"
        },
        "e": {
          "name": "Elementary Charge",
          "symbol": "e",
          "tts": "elementary charge",
          "value": "1.602 × 10⁻¹⁹ C",
          "description": "Electric charge of a proton"
        },
        "me": {
          "name": "Electron Mass",
          "symbol": "mₑ",
          "tts": "electron mass",
          "value": "9.109 × 10⁻³¹ kg",
          "description": "Mass of an electron"
        },
        "pi": {
          "name": "Pi",
          "symbol": "π",
          "tts": "pi",
          "value": "3.14159265359...",
          "description": "Ratio of circle's circumference to diameter",
          "examples": "Circumference = 2πr"
        },
        "euler": {
          "name": "Euler's Number",
          "symbol": "e",
          "tts": "Euler's number or E",
          "value": "2.71828182846...",
          "description": "Base of natural logarithm",
          "examples": "Used in exponential growth calculations"
        }
      }
    }
  }
}

Usage

License: CC BY 4.0 - Free to use with attribution

Attribution: Source: Able-Hearts.org

URL: https://able-hearts.org/reference/units