From 6bea84bbed6dbc87d4d08dc7194b359ee4dc58cc Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 7 Mar 2026 09:37:19 +0000 Subject: [PATCH] Extract calculator teaser metadata --- agents/readme.md | 3 +- calculators_list.md | 924 ++++++++++++------ hdyc-svelte/README.md | 2 +- .../src/lib/components/Calculator.svelte | 9 + hdyc-svelte/src/lib/data/calculators.ts | 188 ++-- migrate.py | 43 +- 6 files changed, 743 insertions(+), 426 deletions(-) diff --git a/agents/readme.md b/agents/readme.md index db5a8fa..8f87678 100644 --- a/agents/readme.md +++ b/agents/readme.md @@ -11,10 +11,9 @@ This repo now ships a **SvelteKit** experience that renders every conversion loc - The **Active Calculators** table at the top is the single source of truth for every published conversion. Only entries listed here will appear in the generated data. Update this table before making any frontend changes. - Column guidance: - **Calculator Name**: keep the existing “Name – descriptive teaser” format. The human-friendly phrase after the dash becomes the page subtitle. - - **Page Post ID / Kadence JS Element ID**: vestigial metadata from the previous architecture. Preserve the existing values if known, but the Svelte pipeline ignores them; you can leave them blank if you do not know them. - **Slug**: lowercase, dash-separated, and unique. `migrate.py` uses this as the canonical identifier, so avoid spaces or special characters. - **Conversion Factor**: this column is the only information `migrate.py` uses to infer the math. Simple multiplicative conversions should use the numeric multiplier that transforms the first unit into the second. Use `Linear Offset (m x + b)` when a fixed offset exists (e.g., `Linear Offset (1.8x + 32)` for Celsius → Fahrenheit), `1/x` for reciprocal conversions, `Multi-Variable` for compound calculators (amps, watts, lux, etc.), and tokens like `10_to_2`, `16_to_10`, `N/A (Text)`, or `Base` for number-system helpers. The script has heuristics built in for the most common patterns; if your calculator is unusual, see section 3 before rerunning. -- After the active table ends, keep the **Backlog** checklist intact. Move a row from the backlog into the table when it is ready for publication, then rerun the generator so the new slug actually ships. +- The completion checklist below the table should reflect the calculators that are currently shipped in Svelte. Keep it in sync with the active table whenever calculators are added or removed. ## 3. Generating the calculator data - Every edit to the registry must be followed by `python migrate.py` executed from the repository root. The script reads `calculators_list.md`, applies heuristics to determine category/type/labels, and produces the updated `hdyc-svelte/src/lib/data/calculators.ts` file. diff --git a/calculators_list.md b/calculators_list.md index 7c25235..15d5824 100644 --- a/calculators_list.md +++ b/calculators_list.md @@ -1,311 +1,605 @@ # Active Calculators Registry -This document lists all active calculators on `howdoyouconvert.com`. -Whenever a new calculator is published via the REST API, it must be appended here including its matching Javascript element ID. +This document tracks the calculators currently shipped by the Svelte site. +The active table below is the source of truth for `migrate.py`; legacy WordPress IDs and Kadence element references have been removed. +The registry currently contains 296 unique calculator slugs. -| Calculator Name | Page Post ID | Kadence JS Element ID | Slug | Conversion Factor | -| :--- | :--- | :--- | :--- | :--- | -| Inches to Feet – If a shelf spans 36 inches, how many feet of trim does it cover? | 16 | 57 | inches-to-feet | 12 | -| Kilograms to Pounds – A cyclist weighing 68 kilograms wonders how many pounds the scale will show. | 54 | 28 | kilograms-to-pounds | 0.453592 | -| Miles to Kilometers – Planning a road trip, how many kilometers will 120 miles travel? | 102 | 103 | miles-to-kilometers | 0.62137119 | -| Acres to Hectares – A 50-acre farm prompts the question: how many hectares does it include? | 107 | 108 | acres-to-hectares | 0.404686 | -| Acres to Square Feet – For the listing, convert 2 acres into square feet to describe the lot size. | 109 | 110 | acres-to-square-feet | 43560.0 | -| Angstroms to Nanometers – A materials scientist changes 25 angstroms into nanometers to describe a film thickness. | 111 | 112 | angstroms-to-nanometers | 0.1 | -| Apothecary Ounces to Grams – Preparing a tincture, how many grams are packed in 8 apothecary ounces? | 113 | 114 | apothecary-ounces-to-grams | 31.1034768 | -| Astronomical Units to Light Years – The astronomer asks how many light years correspond to 5 astronomical units. | 115 | 116 | astronomical-units-to-light-years | 0.0000158125074 | -| Atmosphere to mmHg – In the lab, what is 2 atmospheres of pressure in millimeters of mercury? | 117 | 118 | atmosphere-to-mmhg | 760.0 | -| Attograms to Femtograms – To compare particle masses, convert 150 attograms into femtograms. | 119 | 120 | attograms-to-femtograms | 0.001 | -| Bar to Pascal | 121 | 122 | bar-to-pascal | 100000.0 | -| Bar to PSI | 123 | 124 | bar-to-psi | 14.5037738 | -| Becquerel to Curie | 125 | 126 | becquerel-to-curie | 2.7027027e-11 | -| Becquerel to Rutherford | 127 | 128 | becquerel-to-rutherford | 0.000001 | -| Bits to Bytes | 129 | 130 | bits-to-bytes | 0.125 | -| BTU to Kilojoules | 131 | 132 | btu-to-kilojoules | 1.05505585 | -| BTU/hour to Watts | 133 | 134 | btuhour-to-watts | 0.293071 | -| Calories to Joules | 135 | 136 | calories-to-joules | 4.184 | -| Calories to Kilojoules | 137 | 138 | calories-to-kilojoules | 4.184 | -| ASCII to Binary | 139 | 140 | ascii-to-binary | N/A (Text) | -| Amps to Volts | 141 | 142 | amps-to-volts | Multi-Variable | -| Binary to ASCII | 151 | 152 | binary-to-ascii | N/A (Text) | -| Binary to Decimal | 153 | 154 | binary-to-decimal | N/A (Text) | -| Binary to Hex | 155 | 156 | binary-to-hex | N/A (Text) | -| Amps to Watts | 149 | 150 | amps-to-watts | Multi-Variable | -| Amps to Kilowatts | 159 | 160 | amps-to-kilowatts | Multi-Variable | -| Amps to kVA | 161 | 162 | amps-to-kva | Multi-Variable | -| Carats to Grams | 163 | 164 | carats-to-grams | 0.2 | -| Celsius to Fahrenheit | 165 | 166 | celsius-to-fahrenheit | Linear Offset (1.8x + 32) | -| Centimeters to Inches | 167 | 168 | centimeters-to-inches | 0.393700787 | -| CFS to CMS | 169 | 170 | cfs-to-cms | 0.0283168466 | -| CMS to CFS | 171 | 172 | cms-to-cfs | 35.3146667 | -| Coulomb per Kilogram to Roentgen | 173 | 174 | coulomb-per-kilogram-to-roentgen | 3875.96899 | -| Cups to Milliliters | 175 | 176 | cups-to-milliliters | 236.588237 | -| Curie to Becquerel | 177 | 178 | curie-to-becquerel | 3.7e10 | -| Daltons to AMU | 179 | 180 | daltons-to-amu | 1.0 | -| Days to Hours | 181 | 182 | days-to-hours | 24.0 | -| Days to Weeks | 193 | 194 | days-to-weeks | 0.142857143 | -| Days to Years | 195 | 196 | days-to-years | 0.002737851 | -| Degrees to Mils | 197 | 198 | degrees-to-mils | 17.777777778 | -| Degrees to Radians | 199 | 200 | degrees-to-radians | 0.017453293 | -| Dynes to Newtons | 201 | 202 | dynes-to-newtons | 1e-05 | -| Ergs to Joules | 203 | 204 | ergs-to-joules | 1e-07 | -| Feet to Meters | 205 | 206 | feet-to-meters | 0.3048 | -| Foot-Pounds to Newton-Meters | 207 | 208 | foot-pounds-to-newton-meters | 1.35581795 | -| Gallons to Liters | 209 | 210 | gallons-to-liters | 3.78541178 | -| Gigabytes to Megabytes | 211 | 212 | gigabytes-to-megabytes | 1000.0 | -| Fahrenheit to Celsius | 214 | 215 | fahrenheit-to-celsius | Linear Offset (5/9x - 17.778) | -| Feet per Second to Meters per Second | 216 | 217 | feet-per-second-to-meters-per-second | 0.3048 | -| Fluid Ounces to Milliliters | 218 | 219 | fluid-ounces-to-milliliters | 29.5735296 | -| Gallons per Minute to Liters per Second | 220 | 221 | gallons-per-minute-to-liters-per-second | 0.0630901964 | -| Grains to Grams | 222 | 223 | grains-to-grams | 0.06479891 | -| Grams to Milligrams | 224 | 225 | grams-to-milligrams | 1000.0 | -| Grams to Ounces | 226 | 227 | grams-to-ounces | 0.0352739619 | -| Grams to Pennyweights | 228 | 229 | grams-to-pennyweights | 0.643014931 | -| Grams to Troy Ounces | 230 | 231 | grams-to-troy-ounces | 0.0321507466 | -| Gray to Rad | 232 | 233 | gray-to-rad | 100.0 | -| Grams to Apothecary Ounces | 234 | 235 | grams-to-apothecary-ounces | 0.0321507466 | -| Grams to Carats | 236 | 237 | grams-to-carats | 5.0 | -| Grams to Grains | 238 | 239 | grams-to-grains | 15.4323584 | -| Horsepower to Kilowatts | 240 | 241 | horsepower-to-kilowatts | 0.745699872 | -| Hours to Days | 242 | 243 | hours-to-days | 0.0416666667 | -| Hours to Minutes | 244 | 245 | hours-to-minutes | 60.0 | -| Inches of Mercury to Pascals | 246 | 247 | inches-of-mercury-to-pascals | 3386.389 | -| Inches of Water to Pascals | 248 | 249 | inches-of-water-to-pascals | 249.08891 | -| Inches to Centimeters | 250 | 251 | inches-of-centimeters | 2.54 | -| Inches to Millimeters | 252 | 253 | inches-of-millimeters | 25.4 | -| Centigrams to Grams | 347 | 348 | centigrams-to-grams | 0.01 | -| Centiliters to Liters | 349 | 350 | centiliters-to-liters | 0.01 | -| Centimeters to Feet | 351 | 352 | centimeters-to-feet | 0.032808399 | -| Centimeters to Meters | 353 | 354 | centimeters-to-meters | 0.01 | -| Centimeters to Millimeters | 355 | 356 | centimeters-to-millimeters | 10.0 | -| Chains to Feet | 357 | 358 | chains-to-feet | 66.0 | -| Chains to Meters | 359 | 360 | chains-to-meters | 20.1168 | -| Cubic Centimeters to Cubic Inches | 361 | 362 | cubic-centimeters-to-cubic-inches | 0.0610237441 | -| Cubic Feet to Cubic Meters | 363 | 364 | cubic-feet-to-cubic-meters | 0.0283168466 | -| Cubic Meters to Liters | 365 | 366 | cubic-meters-to-liters | 1000.0 | -| Grams to Micrograms | 367 | 368 | grams-to-micrograms | 1000000.0 | -| Hectopascals to Pascals | 370 | 371 | hectopascals-to-pascals | 100.0 | -| Hectopascals to Millibars | 372 | 373 | hectopascals-to-millibars | 1.0 | -| Joules to Kilojoules | 374 | 375 | joules-to-kilojoules | 0.001 | -| Kilojoules to Joules | 376 | 377 | kilojoules-to-joules | 1000.0 | -| Micrograms to Grams | 378 | 379 | micrograms-to-grams | 1e-06 | -| Milligrams to Grams | 380 | 381 | milligrams-to-grams | 0.001 | -| Millibars to Pascals | 382 | 383 | millibars-to-pascals | 100.0 | -| Millimeters of Mercury to Pascals | 384 | 385 | millimeters-of-mercury-to-pascals | 133.322 | -| Millimeters of Mercury to Pascals | 384 | 385 | millimeters-of-mercury-to-pascals | 133.322 | -| Meters per second to Feet per second | 388 | 389 | meters-per-second-to-feet-per-second | 3.28084 | -| Meters per second to Miles per hour | 390 | 391 | meters-per-second-to-miles-per-hour | 2.23694 | -| Meters per second to Yards per second | 392 | 393 | meters-per-second-to-yards-per-second | 1.09361 | -| Micrograms to Milligrams | 394 | 395 | micrograms-to-milligrams | 0.001 | -| Micrometers to Millimeters | 396 | 397 | micrometers-to-millimeters | 0.001 | -| Milligrams to Micrograms | 398 | 399 | milligrams-to-micrograms | 1000.0 | -| Milliliters to Liters | 400 | 401 | milliliters-to-liters | 0.001 | -| Milliliters to Fluid Ounces | 402 | 403 | milliliters-to-fluid-ounces | 0.033814 | -| Millimeters to Centimeters | 404 | 405 | millimeters-to-centimeters | 0.1 | -| Millimeters to Inches | 406 | 407 | millimeters-to-inches | 0.0393701 | -| Megabytes to Gigabytes | 408 | 409 | megabytes-to-gigabytes | 0.001 | -| Megajoules to Kilowatt-hours | 410 | 411 | megajoules-to-kilowatt-hours | 0.277778 | -| Meters to Feet | 412 | 413 | meters-to-feet | 3.28084 | -| Meters to Yards | 414 | 415 | meters-to-yards | 1.09361 | -| Metric tons to Short tons | 416 | 417 | metric-tons-to-short-tons | 1.10231 | -| Minutes to Hours | 418 | 419 | minutes-to-hours | 0.0166667 | -| Minutes to Seconds | 420 | 421 | minutes-to-seconds | 60.0 | -| Nautical miles to Kilometers | 422 | 423 | nautical-miles-to-kilometers | 1.852 | -| Newtons to Dynes | 424 | 425 | newtons-to-dynes | 100000.0 | -| Ounces to Grams | 426 | 427 | ounces-to-grams | 28.3495 | -| Micrometers to Nanometers | 435 | 436 | micrometers-to-nanometers | 1000 | -| Microns to Angstroms | 437 | 438 | microns-to-angstroms | 10000 | -| Miles per gallon to Kilometers per liter | 439 | 440 | miles-per-gallon-to-kilometers-per-liter | 0.425143707 | -| Miles per hour to Kilometers per hour | 441 | 442 | miles-per-hour-to-kilometers-per-hour | 1.609344 | -| Miles per hour to Knots | 443 | 444 | miles-per-hour-to-knots | 0.8689762419 | -| Miles per hour to Meters per second | 445 | 446 | miles-per-hour-to-meters-per-second | 0.44704 | -| Milliliters to Cups | 447 | 448 | milliliters-to-cups | 0.00422675 | -| Milliliters to Tablespoons | 449 | 450 | milliliters-to-tablespoons | 0.067628 | -| Milliliters to Teaspoons | 451 | 452 | milliliters-to-teaspoons | 0.202884 | -| Millimeters to Microns | 453 | 454 | millimeters-to-microns | 1000 | -| Femtograms to Attograms | 455 | 456 | femtograms-to-attograms | 1000 | -| Gigabytes to Terabytes | 457 | 458 | gigabytes-to-terabytes | 0.0009765625 | -| Joules to Calories | 459 | 460 | joules-to-calories | 0.239005736 | -| Joules to Ergs | 461 | 462 | joules-to-ergs | 10000000 | -| Kilocalories to Kilojoules | 463 | 464 | kilocalories-to-kilojoules | 4.184 | -| Kilograms to Slugs | 465 | 466 | kilograms-to-slugs | 0.06852176585 | -| Kilojoules to BTU | 467 | 468 | kilojoules-to-btu | 0.94781712 | -| Kilojoules to Kilocalories | 469 | 470 | kilojoules-to-kilocalories | 0.239005736 | -| Kilometers to Miles | 471 | 472 | kilometers-to-miles | 0.621371192 | -| Kilometers to Nautical miles | 473 | 474 | kilometers-to-nautical-miles | 0.539956803 | -| Kilowatts to Horsepower | 475 | 476 | kilowatts-to-horsepower | 1.34102209 | -| Kilowatts to Tons of refrigeration | 477 | 478 | kilowatts-to-tons-of-refrigeration | 0.284345136 | -| Kilowatt-hours to Megajoules | 479 | 480 | kilowatt-hours-to-megajoules | 3.6 | -| Knots to Miles per hour | 481 | 482 | knots-to-miles-per-hour | 1.15077945 | -| Light years to Astronomical units | 483 | 484 | light-years-to-astronomical-units | 63241.077 | -| Light years to Parsecs | 485 | 486 | light-years-to-parsecs | 0.306601394 | -| Liters per second to Gallons per minute | 487 | 488 | liters-per-second-to-gallons-per-minute | 15.8503231 | -| Liters to Gallons | 489 | 490 | liters-to-gallons | 0.264172052 | -| Liters to Pints | 491 | 492 | liters-to-pints | 2.11337642 | -| Liters to Quarts | 493 | 494 | liters-to-quarts | 1.05668821 | -| Candela to Lumens | 495 | 496 | candela-to-lumens | 12.5663706 | -| Decimal to Binary | 497 | 498 | decimal-to-binary | 10_to_2 | -| Decimal to Hex | 499 | 500 | decimal-to-hex | 10_to_16 | -| Decimal to Octal | 501 | 502 | decimal-to-octal | 10_to_8 | -| Grams to Apothecary ounces | 234 | 503 | grams-to-apothecary-ounces | 0.0321507466 | -| Grams to Carats | 236 | 504 | grams-to-carats | 5.0 | -| Grams to Grains | 238 | 505 | grams-to-grains | 15.4323584 | -| Hex to Binary | 506 | 507 | hex-to-binary | 16_to_2 | -| Hex to Decimal | 508 | 509 | hex-to-decimal | 16_to_10 | -| Kilograms to Pounds | 54 | 28 | kilograms-to-pounds | 2.20462262 | -| Watts to amps | 657 | 745 | watts-to-amps | Multi-Variable | -| Volts to amps | 656 | 742 | volts-to-amps | Multi-Variable | -| Siemens to ohms | 655 | 739 | siemens-to-ohms | 1/x | -| Ohms to siemens | 654 | 736 | ohms-to-siemens | 1/x | -| Miles per gallon to liters per 100 km | 653 | 734 | miles-per-gallon-to-liters-per-100-km | 235.21/x | -| Lux to lumens | 651 | 731 | lux-to-lumens | Multi-Variable | -| Lumens to lux | 650 | 728 | lumens-to-lux | Multi-Variable | -| Grams to moles | 649 | 725 | grams-to-moles | Multi-Variable | -| Watts to decibels | 648 | 723 | watts-to-decibels | Logarithmic | -| Decibels to watts | 647 | 720 | decibels-to-watts | Exponential | -| Volts to decibels | 646 | 717 | volts-to-decibels | Logarithmic | -| Decibels to volts | 645 | 715 | decibels-to-volts | Exponential | -| Sound pressure level to decibels | 644 | 712 | sound-pressure-level-to-decibels | Logarithmic | -| Decibels to sound pressure level | 643 | 709 | decibels-to-sound-pressure-level | Exponential | -| Decibels to intensity | 642 | 706 | decibels-to-intensity | Logarithmic | -| Fractions to decimals | 641 | 705 | fractions-to-decimals | string split | -| Decimal to fraction | 640 | 704 | decimal-to-fraction | GCD | -| Degrees, minutes, and seconds to decimal degrees | 639 | 703 | degrees-minutes-and-seconds-to-decimal-degrees | Base 60 | -| Decimal degrees to degrees, minutes, and seconds | 638 | 702 | decimal-degrees-to-degrees-minutes-and-seconds | Base 60 | -| Zeptograms to yoctograms | 636 | 637 | zeptograms-to-yoctograms | 1000 | -| Yoctograms to zeptograms | 634 | 635 | yoctograms-to-zeptograms | 0.001 | -| Yards to meters | 632 | 633 | yards-to-meters | 0.9144 | -| Yards per second to meters per second | 630 | 631 | yards-per-second-to-meters-per-second | 0.9144 | -| Weeks to months | 628 | 629 | weeks-to-months | 0.230137 | -| Watts to horsepower | 626 | 627 | watts-to-horsepower | 0.001341 | -| Watts to BTU/hour | 624 | 625 | watts-to-btuhour | 3.41214 | -| Troy ounces to grams | 622 | 623 | troy-ounces-to-grams | 31.1034 | -| Torr to Pascal | 620 | 621 | torr-to-pascal | 133.322 | -| Tons to pounds | 618 | 619 | tons-to-pounds | 2000 | -| Tons of refrigeration to kilowatts | 616 | 617 | tons-of-refrigeration-to-kilowatts | 3.51685 | -| Terabytes to petabytes | 614 | 615 | terabytes-to-petabytes | 0.0009765 | -| Terabytes to gigabytes | 612 | 613 | terabytes-to-gigabytes | 1024 | -| Teaspoons to milliliters | 610 | 611 | teaspoons-to-milliliters | 4.92892 | -| Tablespoons to milliliters | 608 | 609 | tablespoons-to-milliliters | 14.78676 | -| Stones to pounds | 606 | 607 | stones-to-pounds | 14 | -| Square yards to square miles | 604 | 605 | square-yards-to-square-miles | 3.228e-07 | -| Square miles to square yards | 602 | 603 | square-miles-to-square-yards | 3097600 | -| Square meters to square kilometers | 600 | 601 | square-meters-to-square-kilometers | 0.000001 | -| Square meters to square feet | 598 | 599 | square-meters-to-square-feet | 10.7639 | -| Square kilometers to square meters | 596 | 597 | square-kilometers-to-square-meters | 1000000 | -| Square inches to square centimeters | 594 | 595 | square-inches-to-square-centimeters | 6.4516 | -| Square feet to square meters | 592 | 593 | square-feet-to-square-meters | 0.092903 | -| Square feet to acres | 590 | 591 | square-feet-to-acres | 2.295e-05 | -| Square centimeters to square inches | 588 | 589 | square-centimeters-to-square-inches | 0.155 | -| Slugs to kilograms | 586 | 587 | slugs-to-kilograms | 14.5939 | -| Sievert to rem | 584 | 585 | sievert-to-rem | 100 | -| Seconds to minutes | 582 | 583 | seconds-to-minutes | 0.016667 | -| Seconds to milliseconds | 580 | 581 | seconds-to-milliseconds | 1000 | -| Rutherford to becquerel | 578 | 579 | rutherford-to-becquerel | 1000000 | -| RPM to rad/s | 576 | 577 | rpm-to-rads | 0.10472 | -| Roentgen to coulomb per kilogram | 574 | 575 | roentgen-to-coulomb-per-kilogram | 0.000258 | -| Rem to sievert | 572 | 573 | rem-to-sievert | 0.01 | -| Radians to degrees | 570 | 571 | radians-to-degrees | 57.2958 | -| Rad/s to RPM | 568 | 569 | rads-to-rpm | 9.5493 | -| Rad to gray | 566 | 567 | rad-to-gray | 0.01 | -| PSI to megapascals | 564 | 565 | psi-to-megapascals | 0.006895 | -| PSI to bar | 562 | 563 | psi-to-bar | 0.068948 | -| PPI to DPI | 560 | 561 | ppi-to-dpi | 1 | -| Pounds to tons | 558 | 559 | pounds-to-tons | 0.0005 | -| Pounds to stones | 556 | 557 | pounds-to-stones | 0.071428 | -| Pounds to ounces | 554 | 555 | pounds-to-ounces | 16 | -| Pounds to kilograms | 552 | 553 | pounds-to-kilograms | 0.45359 | -| Pints to liters | 550 | 551 | pints-to-liters | 0.473176 | -| Percent to PPM | 548 | 549 | percent-to-ppm | 10000 | -| Pennyweights to grams | 546 | 547 | pennyweights-to-grams | 1.55517 | -| Pascals to inches of water | 544 | 545 | pascals-to-inches-of-water | 0.004015 | -| Pascals to inches of mercury | 542 | 543 | pascals-to-inches-of-mercury | 0.000295 | -| Pascal to atmosphere | 540 | 541 | pascal-to-atmosphere | 9.869e-06 | -| Ounces to pounds | 538 | 539 | ounces-to-pounds | 0.0625 | -| Newton-meters to foot-pounds | 536 | 537 | newton-meters-to-foot-pounds | 0.73756 | -| Nanometers to micrometers | 534 | 535 | nanometers-to-micrometers | 0.001 | -| Nanograms to picograms | 532 | 533 | nanograms-to-picograms | 1000 | -| Metric tons to long tons | 520 | 521 | metric-tons-to-long-tons | 0.9842 | -| Lumens to candela | 511 | 512 | lumens-to-candela | 0.079577 | -| GSM to Ounces per sq yard – Convert GSM to Ounces per sq yard instantly. | - | - | gsm-to-ounces-per-sq-yard | 0.02952 | -| Hands to Centimeters – Convert Hands to Centimeters instantly. | - | - | hands-to-centimeters | 10.16 | -| Hands to Inches – Convert Hands to Inches instantly. | - | - | hands-to-inches | 4 | -| Hartree to Electron-volts – Convert Hartree to Electron-volts instantly. | - | - | hartree-to-electron-volts | 27.2114 | -| Hectares to Ares – Convert Hectares to Ares instantly. | - | - | hectares-to-ares | 100 | -| Hectares to Square Feet – Convert Hectares to Square Feet instantly. | - | - | hectares-to-square-feet | 107639 | -| Hectares to Square Kilometers – Convert Hectares to Square Kilometers instantly. | - | - | hectares-to-square-kilometers | 0.01 | -| Hectares to Square Meters – Convert Hectares to Square Meters instantly. | - | - | hectares-to-square-meters | 10000 | -| Hectopascals to Atmosphere – Convert Hectopascals to Atmosphere instantly. | - | - | hectopascals-to-atmosphere | 0.000986923 | -| Hectopascals to Bar – Convert Hectopascals to Bar instantly. | - | - | hectopascals-to-bar | 0.001 | -| Hectopascals to PSI – Convert Hectopascals to PSI instantly. | - | - | hectopascals-to-psi | 0.0145038 | -| Henries to Millihenries – Convert Henries to Millihenries instantly. | - | - | henries-to-millihenries | 1000 | -| Hertz to Kilohertz – Convert Hertz to Kilohertz instantly. | - | - | hertz-to-kilohertz | 0.001 | -| Hertz to RPM – Convert Hertz to RPM instantly. | - | - | hertz-to-rpm | 60 | -| Hex to Octal – Convert Hex to Octal instantly. | - | - | hex-to-octal | Base 16 → 8 | -| Hogshead to Liters – Convert Hogshead (US) to Liters instantly. | - | - | hogshead-to-liters | 238.481 | -| Horsepower to BTU/hour – Convert Horsepower to BTU/hour instantly. | - | - | horsepower-to-btuhour | 2544.43 | -| Horsepower to Tons of Refrigeration – Convert Horsepower to Tons of Refrigeration instantly. | - | - | horsepower-to-tons-of-refrigeration | 0.284345 | -| Horsepower to Watts – Convert Horsepower to Watts instantly. | - | - | horsepower-to-watts | 745.7 | -| Hours to Seconds – Convert Hours to Seconds instantly. | - | - | hours-to-seconds | 3600 | -| Hours to Weeks – Convert Hours to Weeks instantly. | - | - | hours-to-weeks | 0.00595238 | -| Hundredweight (cwt) to Kilograms – Convert Hundredweight (cwt) to Kilograms instantly. | - | - | hundredweight-to-kilograms | 45.3592 | -| Imperial fl oz to US fl oz – Convert Imperial fl oz to US fl oz instantly. | - | - | imperial-fl-oz-to-us-fl-oz | 1.20095 | -| Imperial gallons to Liters – Convert Imperial gallons to Liters instantly. | - | - | imperial-gallons-to-liters | 4.54609 | -| Imperial gallons to US gallons – Convert Imperial gallons to US gallons instantly. | - | - | imperial-gallons-to-us-gallons | 1.20095 | -| Imperial pints to US pints – Convert Imperial pints to US pints instantly. | - | - | imperial-pints-to-us-pints | 1.20095 | -| Inch-Pounds to Foot-Pounds – Convert Inch-Pounds to Foot-Pounds instantly. | - | - | inch-pounds-to-foot-pounds | 0.0833333 | -| Inch-Pounds to Newton-Meters – Convert Inch-Pounds to Newton-Meters instantly. | - | - | inch-pounds-to-newton-meters | 0.112985 | -| Inches of Water to PSI – Convert Inches of Water to PSI instantly. | - | - | inches-of-water-to-psi | 0.0360912 | -| Inches per second to cm per second – Convert Inches per second to Centimeters per second instantly. | - | - | inches-per-second-to-cm-per-second | 2.54 | -| Inches to Meters – Convert Inches to Meters instantly. | - | - | inches-to-meters | 0.0254 | -| Inches to Points – Convert Inches to Points instantly. | - | - | inches-to-points | 72 | -| Inches to Yards – Convert Inches to Yards instantly. | - | - | inches-to-yards | 0.0277778 | -| Jansky to Watts per sq meter per Hertz – Convert Jansky to Watts per square meter per Hertz instantly. | - | - | jansky-to-watts-per-square-meter-per-hertz | 1e-26 | -| Jiffies to Seconds – Convert Jiffies to Seconds instantly. | - | - | jiffies-to-seconds | 0.01 | -| Jiggers to Milliliters – Convert Jiggers to Milliliters instantly. | - | - | jiggers-to-milliliters | 44.3603 | -| Joules to BTU – Convert Joules to BTU instantly. | - | - | joules-to-btu | 0.000947817 | -| Joules to Electron-volts – Convert Joules to Electron-volts instantly. | - | - | joules-to-electron-volts | 6.24151e+18 | -| Joules to Foot-pounds – Convert Joules to Foot-pounds instantly. | - | - | joules-to-foot-pounds | 0.737562 | -| Joules to Kilowatt-hours – Convert Joules to Kilowatt-hours instantly. | - | - | joules-to-kilowatt-hours | 2.77778e-07 | -| Cubic Feet to Gallons – If a cistern volume reads three cubic feet, how many US gallons does that store? | - | - | cubic-feet-to-gallons | 7.48052 | -| Cubic Meters to Cubic Feet – A freight crate is two cubic meters; how many cubic feet of cargo space is that? | - | - | cubic-meters-to-cubic-feet | 35.3147 | -| Foot-candles to Lux – Gallery staff want to match 150 foot-candles; what does that translate to in lux? | - | - | foot-candles-to-lux | 10.7639 | -| Foot-pounds (energy) to Joules – The engine produces five foot-pounds of work; how many joules is that? | - | - | foot-pounds-energy-to-joules | 1.35581795 | -| Foot-Pounds to Inch-Pounds – A torque spec calls for two foot-pounds; how many inch-pounds is that? | - | - | foot-pounds-to-inch-pounds | 12 | -| Fortnights to Days – The rental period lasts three fortnights; how many days will be billed? | - | - | fortnights-to-days | 14 | -| Furlongs per fortnight to m/s – Traveling at one furlong per fortnight, what speed in meters per second is that? | - | - | furlongs-per-fortnight-to-meters-per-second | 0.00001336 | -| Furlongs to Meters – A race distance of two furlongs equals how many meters? | - | - | furlongs-to-meters | 201.168 | -| Furlongs to Miles – A course covers eight furlongs; how far is that in miles? | - | - | furlongs-to-miles | 0.125 | -| Gallons per minute to CFS – A pump pushes 200 gpm; what is that flow rate in cubic feet per second? | - | - | gallons-per-minute-to-cubic-feet-per-second | 0.00222801 | -| Gallons per minute to Liters per minute – A faucet flows at three gpm; what is that in liters per minute? | - | - | gallons-per-minute-to-liters-per-minute | 3.78541 | -| Gallons to Barrel (US oil) – A tanker carries 840 gallons; how many US oil barrels is that? | - | - | gallons-to-barrel-us-oil | 0.0238095238 | -| Gallons to Cubic Feet – A tank holds fifty gallons; how many cubic feet does that represent? | - | - | gallons-to-cubic-feet | 0.133681 | -| Gallons to Cubic Meters – A reservoir stores 1,200 gallons; what is the cubic meter value? | - | - | gallons-to-cubic-meters | 0.00378541 | -| Gallons to Cups – A recipe needs two gallons; how many cups should you measure? | - | - | gallons-to-cups | 16 | -| Gallons to Fluid Ounces – A pitcher pours three gallons; how many fluid ounces is that? | - | - | gallons-to-fluid-ounces | 128 | -| Gallons to Pints – Pouring one gallon equals how many pints for serving? | - | - | gallons-to-pints | 8 | -| Gallons to Quarts – Four gallons convert to how many quarts for canning? | - | - | gallons-to-quarts | 4 | -| Gamma (mass) to Micrograms – A lab note shows gamma units; what is that in micrograms? | - | - | gamma-mass-to-micrograms | 1 | -| Gauss to Tesla – A field reads five thousand gauss; what is that in tesla? | - | - | gauss-to-tesla | 0.0001 | -| Gbps to Mbps – A fiber uplink reports 10 Gbps; how many megabits per second of capacity is that? | - | - | gbps-to-mbps | 1000 | -| Gibibytes to Gigabytes – A backup file is 2 GiB; how many gigabytes will the storage quota show? | - | - | gibibytes-to-gigabytes | 1.073741824 | -| Gigabits to Megabits – A carrier promises 3 gigabits per second; how many megabits is the link rated for? | - | - | gigabits-to-megabits | 1000 | -| Gigabytes to Bytes – A download weighs 5 gigabytes; how many bytes does that represent? | - | - | gigabytes-to-bytes | 1000000000 | -| Gigabytes to Gibibytes – A storage plan advertises 1,000 GB; how many gibibytes is that? | - | - | gigabytes-to-gibibytes | 0.931322575 | -| Gigabytes to Petabytes – A data warehouse holds 400,000 gigabytes; how many petabytes is that? | - | - | gigabytes-to-petabytes | 0.000001 | -| Gigahertz to Megahertz – A processor is rated at 3 GHz; how many megahertz is that clock speed? | - | - | gigahertz-to-megahertz | 1000 | -| Gill to Milliliters – A bartender pours two US gills; how many milliliters should the glass hold? | - | - | gill-to-milliliters | 118.294 | -| Gradians to Degrees – A surveyor logs 100 gradians; what is that angle in degrees? | - | - | gradians-to-degrees | 0.9 | -| Gradians to Radians – A control dial sweeps 200 gradians; what is that rotation in radians? | - | - | gradians-to-radians | 0.01570796 | -| Grains to Ounces – A jewelry batch weighs 100 grains; how many ounces is that? | - | - | grains-to-ounces | 0.002285714 | -| Grams per cubic centimeter to Kilograms per liter – A fluid density of 1 g/cm³ equals how many kg/L? | - | - | grams-per-cubic-centimeter-to-kilograms-per-liter | 1 | -| Grams per milliliter to Kilograms per cubic meter – A solution at 1.2 g/mL corresponds to how many kg/m³? | - | - | grams-per-milliliter-to-kilograms-per-cubic-meter | 1000 | -| Grams to Drams – A tea blend calls for 2 grams; how many drams should you measure? | - | - | grams-to-drams | 0.564383 | -| Grams to Kilograms – A parcel weighs 3,000 grams; how many kilograms is that weight? | - | - | grams-to-kilograms | 0.001 | -| Grams to Momme – A silk roll weighs 20 grams; how many momme does that equal? | - | - | grams-to-momme | 0.2666667 | -| Grams to Pounds – A container measures 200 grams; how many pounds does the load represent? | - | - | grams-to-pounds | 0.00220462 | -| Grams to Scruples – A pharmacy formula needs 10 grams; what is that in scruples? | - | - | grams-to-scruples | 0.771605 | -| Grams to Tolas – A gold bar weighs 5 grams; how many tolas is that mass? | - | - | grams-to-tolas | 0.085735 | -| Gray to Sievert – A gamma exposure is 3 gray; how many sieverts is that for gamma/beta? | - | - | gray-to-sievert | 1 | +| Calculator Name | Slug | Conversion Factor | +| :--- | :--- | :--- | +| Inches to Feet – If a shelf spans 36 inches, how many feet of trim does it cover? | inches-to-feet | 12 | +| Kilograms to Pounds | kilograms-to-pounds | 2.20462262 | +| Miles to Kilometers – Planning a road trip, how many kilometers will 120 miles travel? | miles-to-kilometers | 0.62137119 | +| Acres to Hectares – A 50-acre farm prompts the question: how many hectares does it include? | acres-to-hectares | 0.404686 | +| Acres to Square Feet – For the listing, convert 2 acres into square feet to describe the lot size. | acres-to-square-feet | 43560.0 | +| Angstroms to Nanometers – A materials scientist changes 25 angstroms into nanometers to describe a film thickness. | angstroms-to-nanometers | 0.1 | +| Apothecary Ounces to Grams – Preparing a tincture, how many grams are packed in 8 apothecary ounces? | apothecary-ounces-to-grams | 31.1034768 | +| Astronomical Units to Light Years – The astronomer asks how many light years correspond to 5 astronomical units. | astronomical-units-to-light-years | 0.0000158125074 | +| Atmosphere to mmHg – In the lab, what is 2 atmospheres of pressure in millimeters of mercury? | atmosphere-to-mmhg | 760.0 | +| Attograms to Femtograms – To compare particle masses, convert 150 attograms into femtograms. | attograms-to-femtograms | 0.001 | +| Bar to Pascal | bar-to-pascal | 100000.0 | +| Bar to PSI | bar-to-psi | 14.5037738 | +| Becquerel to Curie | becquerel-to-curie | 2.7027027e-11 | +| Becquerel to Rutherford | becquerel-to-rutherford | 0.000001 | +| Bits to Bytes | bits-to-bytes | 0.125 | +| BTU to Kilojoules | btu-to-kilojoules | 1.05505585 | +| BTU/hour to Watts | btuhour-to-watts | 0.293071 | +| Calories to Joules | calories-to-joules | 4.184 | +| Calories to Kilojoules | calories-to-kilojoules | 4.184 | +| ASCII to Binary | ascii-to-binary | N/A (Text) | +| Amps to Volts | amps-to-volts | Multi-Variable | +| Binary to ASCII | binary-to-ascii | N/A (Text) | +| Binary to Decimal | binary-to-decimal | N/A (Text) | +| Binary to Hex | binary-to-hex | N/A (Text) | +| Amps to Watts | amps-to-watts | Multi-Variable | +| Amps to Kilowatts | amps-to-kilowatts | Multi-Variable | +| Amps to kVA | amps-to-kva | Multi-Variable | +| Carats to Grams | carats-to-grams | 0.2 | +| Celsius to Fahrenheit | celsius-to-fahrenheit | Linear Offset (1.8x + 32) | +| Centimeters to Inches | centimeters-to-inches | 0.393700787 | +| CFS to CMS | cfs-to-cms | 0.0283168466 | +| CMS to CFS | cms-to-cfs | 35.3146667 | +| Coulomb per Kilogram to Roentgen | coulomb-per-kilogram-to-roentgen | 3875.96899 | +| Cups to Milliliters | cups-to-milliliters | 236.588237 | +| Curie to Becquerel | curie-to-becquerel | 3.7e10 | +| Daltons to AMU | daltons-to-amu | 1.0 | +| Days to Hours | days-to-hours | 24.0 | +| Days to Weeks | days-to-weeks | 0.142857143 | +| Days to Years | days-to-years | 0.002737851 | +| Degrees to Mils | degrees-to-mils | 17.777777778 | +| Degrees to Radians | degrees-to-radians | 0.017453293 | +| Dynes to Newtons | dynes-to-newtons | 1e-05 | +| Ergs to Joules | ergs-to-joules | 1e-07 | +| Feet to Meters | feet-to-meters | 0.3048 | +| Foot-Pounds to Newton-Meters | foot-pounds-to-newton-meters | 1.35581795 | +| Gallons to Liters | gallons-to-liters | 3.78541178 | +| Gigabytes to Megabytes | gigabytes-to-megabytes | 1000.0 | +| Fahrenheit to Celsius | fahrenheit-to-celsius | Linear Offset (5/9x - 17.778) | +| Feet per Second to Meters per Second | feet-per-second-to-meters-per-second | 0.3048 | +| Fluid Ounces to Milliliters | fluid-ounces-to-milliliters | 29.5735296 | +| Gallons per Minute to Liters per Second | gallons-per-minute-to-liters-per-second | 0.0630901964 | +| Grains to Grams | grains-to-grams | 0.06479891 | +| Grams to Milligrams | grams-to-milligrams | 1000.0 | +| Grams to Ounces | grams-to-ounces | 0.0352739619 | +| Grams to Pennyweights | grams-to-pennyweights | 0.643014931 | +| Grams to Troy Ounces | grams-to-troy-ounces | 0.0321507466 | +| Gray to Rad | gray-to-rad | 100.0 | +| Grams to Apothecary ounces | grams-to-apothecary-ounces | 0.0321507466 | +| Grams to Carats | grams-to-carats | 5.0 | +| Grams to Grains | grams-to-grains | 15.4323584 | +| Horsepower to Kilowatts | horsepower-to-kilowatts | 0.745699872 | +| Hours to Days | hours-to-days | 0.0416666667 | +| Hours to Minutes | hours-to-minutes | 60.0 | +| Inches of Mercury to Pascals | inches-of-mercury-to-pascals | 3386.389 | +| Inches of Water to Pascals | inches-of-water-to-pascals | 249.08891 | +| Inches to Centimeters | inches-of-centimeters | 2.54 | +| Inches to Millimeters | inches-of-millimeters | 25.4 | +| Centigrams to Grams | centigrams-to-grams | 0.01 | +| Centiliters to Liters | centiliters-to-liters | 0.01 | +| Centimeters to Feet | centimeters-to-feet | 0.032808399 | +| Centimeters to Meters | centimeters-to-meters | 0.01 | +| Centimeters to Millimeters | centimeters-to-millimeters | 10.0 | +| Chains to Feet | chains-to-feet | 66.0 | +| Chains to Meters | chains-to-meters | 20.1168 | +| Cubic Centimeters to Cubic Inches | cubic-centimeters-to-cubic-inches | 0.0610237441 | +| Cubic Feet to Cubic Meters | cubic-feet-to-cubic-meters | 0.0283168466 | +| Cubic Meters to Liters | cubic-meters-to-liters | 1000.0 | +| Grams to Micrograms | grams-to-micrograms | 1000000.0 | +| Hectopascals to Pascals | hectopascals-to-pascals | 100.0 | +| Hectopascals to Millibars | hectopascals-to-millibars | 1.0 | +| Joules to Kilojoules | joules-to-kilojoules | 0.001 | +| Kilojoules to Joules | kilojoules-to-joules | 1000.0 | +| Micrograms to Grams | micrograms-to-grams | 1e-06 | +| Milligrams to Grams | milligrams-to-grams | 0.001 | +| Millibars to Pascals | millibars-to-pascals | 100.0 | +| Millimeters of Mercury to Pascals | millimeters-of-mercury-to-pascals | 133.322 | +| Meters per second to Feet per second | meters-per-second-to-feet-per-second | 3.28084 | +| Meters per second to Miles per hour | meters-per-second-to-miles-per-hour | 2.23694 | +| Meters per second to Yards per second | meters-per-second-to-yards-per-second | 1.09361 | +| Micrograms to Milligrams | micrograms-to-milligrams | 0.001 | +| Micrometers to Millimeters | micrometers-to-millimeters | 0.001 | +| Milligrams to Micrograms | milligrams-to-micrograms | 1000.0 | +| Milliliters to Liters | milliliters-to-liters | 0.001 | +| Milliliters to Fluid Ounces | milliliters-to-fluid-ounces | 0.033814 | +| Millimeters to Centimeters | millimeters-to-centimeters | 0.1 | +| Millimeters to Inches | millimeters-to-inches | 0.0393701 | +| Megabytes to Gigabytes | megabytes-to-gigabytes | 0.001 | +| Megajoules to Kilowatt-hours | megajoules-to-kilowatt-hours | 0.277778 | +| Meters to Feet | meters-to-feet | 3.28084 | +| Meters to Yards | meters-to-yards | 1.09361 | +| Metric tons to Short tons | metric-tons-to-short-tons | 1.10231 | +| Minutes to Hours | minutes-to-hours | 0.0166667 | +| Minutes to Seconds | minutes-to-seconds | 60.0 | +| Nautical miles to Kilometers | nautical-miles-to-kilometers | 1.852 | +| Newtons to Dynes | newtons-to-dynes | 100000.0 | +| Ounces to Grams | ounces-to-grams | 28.3495 | +| Micrometers to Nanometers | micrometers-to-nanometers | 1000 | +| Microns to Angstroms | microns-to-angstroms | 10000 | +| Miles per gallon to Kilometers per liter | miles-per-gallon-to-kilometers-per-liter | 0.425143707 | +| Miles per hour to Kilometers per hour | miles-per-hour-to-kilometers-per-hour | 1.609344 | +| Miles per hour to Knots | miles-per-hour-to-knots | 0.8689762419 | +| Miles per hour to Meters per second | miles-per-hour-to-meters-per-second | 0.44704 | +| Milliliters to Cups | milliliters-to-cups | 0.00422675 | +| Milliliters to Tablespoons | milliliters-to-tablespoons | 0.067628 | +| Milliliters to Teaspoons | milliliters-to-teaspoons | 0.202884 | +| Millimeters to Microns | millimeters-to-microns | 1000 | +| Femtograms to Attograms | femtograms-to-attograms | 1000 | +| Gigabytes to Terabytes | gigabytes-to-terabytes | 0.0009765625 | +| Joules to Calories | joules-to-calories | 0.239005736 | +| Joules to Ergs | joules-to-ergs | 10000000 | +| Kilocalories to Kilojoules | kilocalories-to-kilojoules | 4.184 | +| Kilograms to Slugs | kilograms-to-slugs | 0.06852176585 | +| Kilojoules to BTU | kilojoules-to-btu | 0.94781712 | +| Kilojoules to Kilocalories | kilojoules-to-kilocalories | 0.239005736 | +| Kilometers to Miles | kilometers-to-miles | 0.621371192 | +| Kilometers to Nautical miles | kilometers-to-nautical-miles | 0.539956803 | +| Kilowatts to Horsepower | kilowatts-to-horsepower | 1.34102209 | +| Kilowatts to Tons of refrigeration | kilowatts-to-tons-of-refrigeration | 0.284345136 | +| Kilowatt-hours to Megajoules | kilowatt-hours-to-megajoules | 3.6 | +| Knots to Miles per hour | knots-to-miles-per-hour | 1.15077945 | +| Light years to Astronomical units | light-years-to-astronomical-units | 63241.077 | +| Light years to Parsecs | light-years-to-parsecs | 0.306601394 | +| Liters per second to Gallons per minute | liters-per-second-to-gallons-per-minute | 15.8503231 | +| Liters to Gallons | liters-to-gallons | 0.264172052 | +| Liters to Pints | liters-to-pints | 2.11337642 | +| Liters to Quarts | liters-to-quarts | 1.05668821 | +| Candela to Lumens | candela-to-lumens | 12.5663706 | +| Decimal to Binary | decimal-to-binary | 10_to_2 | +| Decimal to Hex | decimal-to-hex | 10_to_16 | +| Decimal to Octal | decimal-to-octal | 10_to_8 | +| Hex to Binary | hex-to-binary | 16_to_2 | +| Hex to Decimal | hex-to-decimal | 16_to_10 | +| Watts to amps | watts-to-amps | Multi-Variable | +| Volts to amps | volts-to-amps | Multi-Variable | +| Siemens to ohms | siemens-to-ohms | 1/x | +| Ohms to siemens | ohms-to-siemens | 1/x | +| Miles per gallon to liters per 100 km | miles-per-gallon-to-liters-per-100-km | 235.21/x | +| Lux to lumens | lux-to-lumens | Multi-Variable | +| Lumens to lux | lumens-to-lux | Multi-Variable | +| Grams to moles | grams-to-moles | Multi-Variable | +| Watts to decibels | watts-to-decibels | Logarithmic | +| Decibels to watts | decibels-to-watts | Exponential | +| Volts to decibels | volts-to-decibels | Logarithmic | +| Decibels to volts | decibels-to-volts | Exponential | +| Sound pressure level to decibels | sound-pressure-level-to-decibels | Logarithmic | +| Decibels to sound pressure level | decibels-to-sound-pressure-level | Exponential | +| Decibels to intensity | decibels-to-intensity | Logarithmic | +| Fractions to decimals | fractions-to-decimals | string split | +| Decimal to fraction | decimal-to-fraction | GCD | +| Degrees, minutes, and seconds to decimal degrees | degrees-minutes-and-seconds-to-decimal-degrees | Base 60 | +| Decimal degrees to degrees, minutes, and seconds | decimal-degrees-to-degrees-minutes-and-seconds | Base 60 | +| Zeptograms to yoctograms | zeptograms-to-yoctograms | 1000 | +| Yoctograms to zeptograms | yoctograms-to-zeptograms | 0.001 | +| Yards to meters | yards-to-meters | 0.9144 | +| Yards per second to meters per second | yards-per-second-to-meters-per-second | 0.9144 | +| Weeks to months | weeks-to-months | 0.230137 | +| Watts to horsepower | watts-to-horsepower | 0.001341 | +| Watts to BTU/hour | watts-to-btuhour | 3.41214 | +| Troy ounces to grams | troy-ounces-to-grams | 31.1034 | +| Torr to Pascal | torr-to-pascal | 133.322 | +| Tons to pounds | tons-to-pounds | 2000 | +| Tons of refrigeration to kilowatts | tons-of-refrigeration-to-kilowatts | 3.51685 | +| Terabytes to petabytes | terabytes-to-petabytes | 0.0009765 | +| Terabytes to gigabytes | terabytes-to-gigabytes | 1024 | +| Teaspoons to milliliters | teaspoons-to-milliliters | 4.92892 | +| Tablespoons to milliliters | tablespoons-to-milliliters | 14.78676 | +| Stones to pounds | stones-to-pounds | 14 | +| Square yards to square miles | square-yards-to-square-miles | 3.228e-07 | +| Square miles to square yards | square-miles-to-square-yards | 3097600 | +| Square meters to square kilometers | square-meters-to-square-kilometers | 0.000001 | +| Square meters to square feet | square-meters-to-square-feet | 10.7639 | +| Square kilometers to square meters | square-kilometers-to-square-meters | 1000000 | +| Square inches to square centimeters | square-inches-to-square-centimeters | 6.4516 | +| Square feet to square meters | square-feet-to-square-meters | 0.092903 | +| Square feet to acres | square-feet-to-acres | 2.295e-05 | +| Square centimeters to square inches | square-centimeters-to-square-inches | 0.155 | +| Slugs to kilograms | slugs-to-kilograms | 14.5939 | +| Sievert to rem | sievert-to-rem | 100 | +| Seconds to minutes | seconds-to-minutes | 0.016667 | +| Seconds to milliseconds | seconds-to-milliseconds | 1000 | +| Rutherford to becquerel | rutherford-to-becquerel | 1000000 | +| RPM to rad/s | rpm-to-rads | 0.10472 | +| Roentgen to coulomb per kilogram | roentgen-to-coulomb-per-kilogram | 0.000258 | +| Rem to sievert | rem-to-sievert | 0.01 | +| Radians to degrees | radians-to-degrees | 57.2958 | +| Rad/s to RPM | rads-to-rpm | 9.5493 | +| Rad to gray | rad-to-gray | 0.01 | +| PSI to megapascals | psi-to-megapascals | 0.006895 | +| PSI to bar | psi-to-bar | 0.068948 | +| PPI to DPI | ppi-to-dpi | 1 | +| Pounds to tons | pounds-to-tons | 0.0005 | +| Pounds to stones | pounds-to-stones | 0.071428 | +| Pounds to ounces | pounds-to-ounces | 16 | +| Pounds to kilograms | pounds-to-kilograms | 0.45359 | +| Pints to liters | pints-to-liters | 0.473176 | +| Percent to PPM | percent-to-ppm | 10000 | +| Pennyweights to grams | pennyweights-to-grams | 1.55517 | +| Pascals to inches of water | pascals-to-inches-of-water | 0.004015 | +| Pascals to inches of mercury | pascals-to-inches-of-mercury | 0.000295 | +| Pascal to atmosphere | pascal-to-atmosphere | 9.869e-06 | +| Ounces to pounds | ounces-to-pounds | 0.0625 | +| Newton-meters to foot-pounds | newton-meters-to-foot-pounds | 0.73756 | +| Nanometers to micrometers | nanometers-to-micrometers | 0.001 | +| Nanograms to picograms | nanograms-to-picograms | 1000 | +| Metric tons to long tons | metric-tons-to-long-tons | 0.9842 | +| Lumens to candela | lumens-to-candela | 0.079577 | +| GSM to Ounces per sq yard – Convert GSM to Ounces per sq yard instantly. | gsm-to-ounces-per-sq-yard | 0.02952 | +| Hands to Centimeters – Convert Hands to Centimeters instantly. | hands-to-centimeters | 10.16 | +| Hands to Inches – Convert Hands to Inches instantly. | hands-to-inches | 4 | +| Hartree to Electron-volts – Convert Hartree to Electron-volts instantly. | hartree-to-electron-volts | 27.2114 | +| Hectares to Ares – Convert Hectares to Ares instantly. | hectares-to-ares | 100 | +| Hectares to Square Feet – Convert Hectares to Square Feet instantly. | hectares-to-square-feet | 107639 | +| Hectares to Square Kilometers – Convert Hectares to Square Kilometers instantly. | hectares-to-square-kilometers | 0.01 | +| Hectares to Square Meters – Convert Hectares to Square Meters instantly. | hectares-to-square-meters | 10000 | +| Hectopascals to Atmosphere – Convert Hectopascals to Atmosphere instantly. | hectopascals-to-atmosphere | 0.000986923 | +| Hectopascals to Bar – Convert Hectopascals to Bar instantly. | hectopascals-to-bar | 0.001 | +| Hectopascals to PSI – Convert Hectopascals to PSI instantly. | hectopascals-to-psi | 0.0145038 | +| Henries to Millihenries – Convert Henries to Millihenries instantly. | henries-to-millihenries | 1000 | +| Hertz to Kilohertz – Convert Hertz to Kilohertz instantly. | hertz-to-kilohertz | 0.001 | +| Hertz to RPM – Convert Hertz to RPM instantly. | hertz-to-rpm | 60 | +| Hex to Octal – Convert Hex to Octal instantly. | hex-to-octal | Base 16 → 8 | +| Hogshead to Liters – Convert Hogshead (US) to Liters instantly. | hogshead-to-liters | 238.481 | +| Horsepower to BTU/hour – Convert Horsepower to BTU/hour instantly. | horsepower-to-btuhour | 2544.43 | +| Horsepower to Tons of Refrigeration – Convert Horsepower to Tons of Refrigeration instantly. | horsepower-to-tons-of-refrigeration | 0.284345 | +| Horsepower to Watts – Convert Horsepower to Watts instantly. | horsepower-to-watts | 745.7 | +| Hours to Seconds – Convert Hours to Seconds instantly. | hours-to-seconds | 3600 | +| Hours to Weeks – Convert Hours to Weeks instantly. | hours-to-weeks | 0.00595238 | +| Hundredweight (cwt) to Kilograms – Convert Hundredweight (cwt) to Kilograms instantly. | hundredweight-to-kilograms | 45.3592 | +| Imperial fl oz to US fl oz – Convert Imperial fl oz to US fl oz instantly. | imperial-fl-oz-to-us-fl-oz | 1.20095 | +| Imperial gallons to Liters – Convert Imperial gallons to Liters instantly. | imperial-gallons-to-liters | 4.54609 | +| Imperial gallons to US gallons – Convert Imperial gallons to US gallons instantly. | imperial-gallons-to-us-gallons | 1.20095 | +| Imperial pints to US pints – Convert Imperial pints to US pints instantly. | imperial-pints-to-us-pints | 1.20095 | +| Inch-Pounds to Foot-Pounds – Convert Inch-Pounds to Foot-Pounds instantly. | inch-pounds-to-foot-pounds | 0.0833333 | +| Inch-Pounds to Newton-Meters – Convert Inch-Pounds to Newton-Meters instantly. | inch-pounds-to-newton-meters | 0.112985 | +| Inches of Water to PSI – Convert Inches of Water to PSI instantly. | inches-of-water-to-psi | 0.0360912 | +| Inches per second to cm per second – Convert Inches per second to Centimeters per second instantly. | inches-per-second-to-cm-per-second | 2.54 | +| Inches to Meters – Convert Inches to Meters instantly. | inches-to-meters | 0.0254 | +| Inches to Points – Convert Inches to Points instantly. | inches-to-points | 72 | +| Inches to Yards – Convert Inches to Yards instantly. | inches-to-yards | 0.0277778 | +| Jansky to Watts per sq meter per Hertz – Convert Jansky to Watts per square meter per Hertz instantly. | jansky-to-watts-per-square-meter-per-hertz | 1e-26 | +| Jiffies to Seconds – Convert Jiffies to Seconds instantly. | jiffies-to-seconds | 0.01 | +| Jiggers to Milliliters – Convert Jiggers to Milliliters instantly. | jiggers-to-milliliters | 44.3603 | +| Joules to BTU – Convert Joules to BTU instantly. | joules-to-btu | 0.000947817 | +| Joules to Electron-volts – Convert Joules to Electron-volts instantly. | joules-to-electron-volts | 6.24151e+18 | +| Joules to Foot-pounds – Convert Joules to Foot-pounds instantly. | joules-to-foot-pounds | 0.737562 | +| Joules to Kilowatt-hours – Convert Joules to Kilowatt-hours instantly. | joules-to-kilowatt-hours | 2.77778e-07 | +| Cubic Feet to Gallons – If a cistern volume reads three cubic feet, how many US gallons does that store? | cubic-feet-to-gallons | 7.48052 | +| Cubic Meters to Cubic Feet – A freight crate is two cubic meters; how many cubic feet of cargo space is that? | cubic-meters-to-cubic-feet | 35.3147 | +| Foot-candles to Lux – Gallery staff want to match 150 foot-candles; what does that translate to in lux? | foot-candles-to-lux | 10.7639 | +| Foot-pounds (energy) to Joules – The engine produces five foot-pounds of work; how many joules is that? | foot-pounds-energy-to-joules | 1.35581795 | +| Foot-Pounds to Inch-Pounds – A torque spec calls for two foot-pounds; how many inch-pounds is that? | foot-pounds-to-inch-pounds | 12 | +| Fortnights to Days – The rental period lasts three fortnights; how many days will be billed? | fortnights-to-days | 14 | +| Furlongs per fortnight to m/s – Traveling at one furlong per fortnight, what speed in meters per second is that? | furlongs-per-fortnight-to-meters-per-second | 0.00001336 | +| Furlongs to Meters – A race distance of two furlongs equals how many meters? | furlongs-to-meters | 201.168 | +| Furlongs to Miles – A course covers eight furlongs; how far is that in miles? | furlongs-to-miles | 0.125 | +| Gallons per minute to CFS – A pump pushes 200 gpm; what is that flow rate in cubic feet per second? | gallons-per-minute-to-cubic-feet-per-second | 0.00222801 | +| Gallons per minute to Liters per minute – A faucet flows at three gpm; what is that in liters per minute? | gallons-per-minute-to-liters-per-minute | 3.78541 | +| Gallons to Barrel (US oil) – A tanker carries 840 gallons; how many US oil barrels is that? | gallons-to-barrel-us-oil | 0.0238095238 | +| Gallons to Cubic Feet – A tank holds fifty gallons; how many cubic feet does that represent? | gallons-to-cubic-feet | 0.133681 | +| Gallons to Cubic Meters – A reservoir stores 1,200 gallons; what is the cubic meter value? | gallons-to-cubic-meters | 0.00378541 | +| Gallons to Cups – A recipe needs two gallons; how many cups should you measure? | gallons-to-cups | 16 | +| Gallons to Fluid Ounces – A pitcher pours three gallons; how many fluid ounces is that? | gallons-to-fluid-ounces | 128 | +| Gallons to Pints – Pouring one gallon equals how many pints for serving? | gallons-to-pints | 8 | +| Gallons to Quarts – Four gallons convert to how many quarts for canning? | gallons-to-quarts | 4 | +| Gamma (mass) to Micrograms – A lab note shows gamma units; what is that in micrograms? | gamma-mass-to-micrograms | 1 | +| Gauss to Tesla – A field reads five thousand gauss; what is that in tesla? | gauss-to-tesla | 0.0001 | +| Gbps to Mbps – A fiber uplink reports 10 Gbps; how many megabits per second of capacity is that? | gbps-to-mbps | 1000 | +| Gibibytes to Gigabytes – A backup file is 2 GiB; how many gigabytes will the storage quota show? | gibibytes-to-gigabytes | 1.073741824 | +| Gigabits to Megabits – A carrier promises 3 gigabits per second; how many megabits is the link rated for? | gigabits-to-megabits | 1000 | +| Gigabytes to Bytes – A download weighs 5 gigabytes; how many bytes does that represent? | gigabytes-to-bytes | 1000000000 | +| Gigabytes to Gibibytes – A storage plan advertises 1,000 GB; how many gibibytes is that? | gigabytes-to-gibibytes | 0.931322575 | +| Gigabytes to Petabytes – A data warehouse holds 400,000 gigabytes; how many petabytes is that? | gigabytes-to-petabytes | 0.000001 | +| Gigahertz to Megahertz – A processor is rated at 3 GHz; how many megahertz is that clock speed? | gigahertz-to-megahertz | 1000 | +| Gill to Milliliters – A bartender pours two US gills; how many milliliters should the glass hold? | gill-to-milliliters | 118.294 | +| Gradians to Degrees – A surveyor logs 100 gradians; what is that angle in degrees? | gradians-to-degrees | 0.9 | +| Gradians to Radians – A control dial sweeps 200 gradians; what is that rotation in radians? | gradians-to-radians | 0.01570796 | +| Grains to Ounces – A jewelry batch weighs 100 grains; how many ounces is that? | grains-to-ounces | 0.002285714 | +| Grams per cubic centimeter to Kilograms per liter – A fluid density of 1 g/cm³ equals how many kg/L? | grams-per-cubic-centimeter-to-kilograms-per-liter | 1 | +| Grams per milliliter to Kilograms per cubic meter – A solution at 1.2 g/mL corresponds to how many kg/m³? | grams-per-milliliter-to-kilograms-per-cubic-meter | 1000 | +| Grams to Drams – A tea blend calls for 2 grams; how many drams should you measure? | grams-to-drams | 0.564383 | +| Grams to Kilograms – A parcel weighs 3,000 grams; how many kilograms is that weight? | grams-to-kilograms | 0.001 | +| Grams to Momme – A silk roll weighs 20 grams; how many momme does that equal? | grams-to-momme | 0.2666667 | +| Grams to Pounds – A container measures 200 grams; how many pounds does the load represent? | grams-to-pounds | 0.00220462 | +| Grams to Scruples – A pharmacy formula needs 10 grams; what is that in scruples? | grams-to-scruples | 0.771605 | +| Grams to Tolas – A gold bar weighs 5 grams; how many tolas is that mass? | grams-to-tolas | 0.085735 | +| Gray to Sievert – A gamma exposure is 3 gray; how many sieverts is that for gamma/beta? | gray-to-sievert | 1 | + +## Completion Checklist +- [x] Inches to Feet (`inches-to-feet`) +- [x] Kilograms to Pounds (`kilograms-to-pounds`) +- [x] Miles to Kilometers (`miles-to-kilometers`) +- [x] Acres to Hectares (`acres-to-hectares`) +- [x] Acres to Square Feet (`acres-to-square-feet`) +- [x] Angstroms to Nanometers (`angstroms-to-nanometers`) +- [x] Apothecary Ounces to Grams (`apothecary-ounces-to-grams`) +- [x] Astronomical Units to Light Years (`astronomical-units-to-light-years`) +- [x] Atmosphere to mmHg (`atmosphere-to-mmhg`) +- [x] Attograms to Femtograms (`attograms-to-femtograms`) +- [x] Bar to Pascal (`bar-to-pascal`) +- [x] Bar to PSI (`bar-to-psi`) +- [x] Becquerel to Curie (`becquerel-to-curie`) +- [x] Becquerel to Rutherford (`becquerel-to-rutherford`) +- [x] Bits to Bytes (`bits-to-bytes`) +- [x] BTU to Kilojoules (`btu-to-kilojoules`) +- [x] BTU/hour to Watts (`btuhour-to-watts`) +- [x] Calories to Joules (`calories-to-joules`) +- [x] Calories to Kilojoules (`calories-to-kilojoules`) +- [x] ASCII to Binary (`ascii-to-binary`) +- [x] Amps to Volts (`amps-to-volts`) +- [x] Binary to ASCII (`binary-to-ascii`) +- [x] Binary to Decimal (`binary-to-decimal`) +- [x] Binary to Hex (`binary-to-hex`) +- [x] Amps to Watts (`amps-to-watts`) +- [x] Amps to Kilowatts (`amps-to-kilowatts`) +- [x] Amps to kVA (`amps-to-kva`) +- [x] Carats to Grams (`carats-to-grams`) +- [x] Celsius to Fahrenheit (`celsius-to-fahrenheit`) +- [x] Centimeters to Inches (`centimeters-to-inches`) +- [x] CFS to CMS (`cfs-to-cms`) +- [x] CMS to CFS (`cms-to-cfs`) +- [x] Coulomb per Kilogram to Roentgen (`coulomb-per-kilogram-to-roentgen`) +- [x] Cups to Milliliters (`cups-to-milliliters`) +- [x] Curie to Becquerel (`curie-to-becquerel`) +- [x] Daltons to AMU (`daltons-to-amu`) +- [x] Days to Hours (`days-to-hours`) +- [x] Days to Weeks (`days-to-weeks`) +- [x] Days to Years (`days-to-years`) +- [x] Degrees to Mils (`degrees-to-mils`) +- [x] Degrees to Radians (`degrees-to-radians`) +- [x] Dynes to Newtons (`dynes-to-newtons`) +- [x] Ergs to Joules (`ergs-to-joules`) +- [x] Feet to Meters (`feet-to-meters`) +- [x] Foot-Pounds to Newton-Meters (`foot-pounds-to-newton-meters`) +- [x] Gallons to Liters (`gallons-to-liters`) +- [x] Gigabytes to Megabytes (`gigabytes-to-megabytes`) +- [x] Fahrenheit to Celsius (`fahrenheit-to-celsius`) +- [x] Feet per Second to Meters per Second (`feet-per-second-to-meters-per-second`) +- [x] Fluid Ounces to Milliliters (`fluid-ounces-to-milliliters`) +- [x] Gallons per Minute to Liters per Second (`gallons-per-minute-to-liters-per-second`) +- [x] Grains to Grams (`grains-to-grams`) +- [x] Grams to Milligrams (`grams-to-milligrams`) +- [x] Grams to Ounces (`grams-to-ounces`) +- [x] Grams to Pennyweights (`grams-to-pennyweights`) +- [x] Grams to Troy Ounces (`grams-to-troy-ounces`) +- [x] Gray to Rad (`gray-to-rad`) +- [x] Grams to Apothecary ounces (`grams-to-apothecary-ounces`) +- [x] Grams to Carats (`grams-to-carats`) +- [x] Grams to Grains (`grams-to-grains`) +- [x] Horsepower to Kilowatts (`horsepower-to-kilowatts`) +- [x] Hours to Days (`hours-to-days`) +- [x] Hours to Minutes (`hours-to-minutes`) +- [x] Inches of Mercury to Pascals (`inches-of-mercury-to-pascals`) +- [x] Inches of Water to Pascals (`inches-of-water-to-pascals`) +- [x] Inches to Centimeters (`inches-of-centimeters`) +- [x] Inches to Millimeters (`inches-of-millimeters`) +- [x] Centigrams to Grams (`centigrams-to-grams`) +- [x] Centiliters to Liters (`centiliters-to-liters`) +- [x] Centimeters to Feet (`centimeters-to-feet`) +- [x] Centimeters to Meters (`centimeters-to-meters`) +- [x] Centimeters to Millimeters (`centimeters-to-millimeters`) +- [x] Chains to Feet (`chains-to-feet`) +- [x] Chains to Meters (`chains-to-meters`) +- [x] Cubic Centimeters to Cubic Inches (`cubic-centimeters-to-cubic-inches`) +- [x] Cubic Feet to Cubic Meters (`cubic-feet-to-cubic-meters`) +- [x] Cubic Meters to Liters (`cubic-meters-to-liters`) +- [x] Grams to Micrograms (`grams-to-micrograms`) +- [x] Hectopascals to Pascals (`hectopascals-to-pascals`) +- [x] Hectopascals to Millibars (`hectopascals-to-millibars`) +- [x] Joules to Kilojoules (`joules-to-kilojoules`) +- [x] Kilojoules to Joules (`kilojoules-to-joules`) +- [x] Micrograms to Grams (`micrograms-to-grams`) +- [x] Milligrams to Grams (`milligrams-to-grams`) +- [x] Millibars to Pascals (`millibars-to-pascals`) +- [x] Millimeters of Mercury to Pascals (`millimeters-of-mercury-to-pascals`) +- [x] Meters per second to Feet per second (`meters-per-second-to-feet-per-second`) +- [x] Meters per second to Miles per hour (`meters-per-second-to-miles-per-hour`) +- [x] Meters per second to Yards per second (`meters-per-second-to-yards-per-second`) +- [x] Micrograms to Milligrams (`micrograms-to-milligrams`) +- [x] Micrometers to Millimeters (`micrometers-to-millimeters`) +- [x] Milligrams to Micrograms (`milligrams-to-micrograms`) +- [x] Milliliters to Liters (`milliliters-to-liters`) +- [x] Milliliters to Fluid Ounces (`milliliters-to-fluid-ounces`) +- [x] Millimeters to Centimeters (`millimeters-to-centimeters`) +- [x] Millimeters to Inches (`millimeters-to-inches`) +- [x] Megabytes to Gigabytes (`megabytes-to-gigabytes`) +- [x] Megajoules to Kilowatt-hours (`megajoules-to-kilowatt-hours`) +- [x] Meters to Feet (`meters-to-feet`) +- [x] Meters to Yards (`meters-to-yards`) +- [x] Metric tons to Short tons (`metric-tons-to-short-tons`) +- [x] Minutes to Hours (`minutes-to-hours`) +- [x] Minutes to Seconds (`minutes-to-seconds`) +- [x] Nautical miles to Kilometers (`nautical-miles-to-kilometers`) +- [x] Newtons to Dynes (`newtons-to-dynes`) +- [x] Ounces to Grams (`ounces-to-grams`) +- [x] Micrometers to Nanometers (`micrometers-to-nanometers`) +- [x] Microns to Angstroms (`microns-to-angstroms`) +- [x] Miles per gallon to Kilometers per liter (`miles-per-gallon-to-kilometers-per-liter`) +- [x] Miles per hour to Kilometers per hour (`miles-per-hour-to-kilometers-per-hour`) +- [x] Miles per hour to Knots (`miles-per-hour-to-knots`) +- [x] Miles per hour to Meters per second (`miles-per-hour-to-meters-per-second`) +- [x] Milliliters to Cups (`milliliters-to-cups`) +- [x] Milliliters to Tablespoons (`milliliters-to-tablespoons`) +- [x] Milliliters to Teaspoons (`milliliters-to-teaspoons`) +- [x] Millimeters to Microns (`millimeters-to-microns`) +- [x] Femtograms to Attograms (`femtograms-to-attograms`) +- [x] Gigabytes to Terabytes (`gigabytes-to-terabytes`) +- [x] Joules to Calories (`joules-to-calories`) +- [x] Joules to Ergs (`joules-to-ergs`) +- [x] Kilocalories to Kilojoules (`kilocalories-to-kilojoules`) +- [x] Kilograms to Slugs (`kilograms-to-slugs`) +- [x] Kilojoules to BTU (`kilojoules-to-btu`) +- [x] Kilojoules to Kilocalories (`kilojoules-to-kilocalories`) +- [x] Kilometers to Miles (`kilometers-to-miles`) +- [x] Kilometers to Nautical miles (`kilometers-to-nautical-miles`) +- [x] Kilowatts to Horsepower (`kilowatts-to-horsepower`) +- [x] Kilowatts to Tons of refrigeration (`kilowatts-to-tons-of-refrigeration`) +- [x] Kilowatt-hours to Megajoules (`kilowatt-hours-to-megajoules`) +- [x] Knots to Miles per hour (`knots-to-miles-per-hour`) +- [x] Light years to Astronomical units (`light-years-to-astronomical-units`) +- [x] Light years to Parsecs (`light-years-to-parsecs`) +- [x] Liters per second to Gallons per minute (`liters-per-second-to-gallons-per-minute`) +- [x] Liters to Gallons (`liters-to-gallons`) +- [x] Liters to Pints (`liters-to-pints`) +- [x] Liters to Quarts (`liters-to-quarts`) +- [x] Candela to Lumens (`candela-to-lumens`) +- [x] Decimal to Binary (`decimal-to-binary`) +- [x] Decimal to Hex (`decimal-to-hex`) +- [x] Decimal to Octal (`decimal-to-octal`) +- [x] Hex to Binary (`hex-to-binary`) +- [x] Hex to Decimal (`hex-to-decimal`) +- [x] Watts to amps (`watts-to-amps`) +- [x] Volts to amps (`volts-to-amps`) +- [x] Siemens to ohms (`siemens-to-ohms`) +- [x] Ohms to siemens (`ohms-to-siemens`) +- [x] Miles per gallon to liters per 100 km (`miles-per-gallon-to-liters-per-100-km`) +- [x] Lux to lumens (`lux-to-lumens`) +- [x] Lumens to lux (`lumens-to-lux`) +- [x] Grams to moles (`grams-to-moles`) +- [x] Watts to decibels (`watts-to-decibels`) +- [x] Decibels to watts (`decibels-to-watts`) +- [x] Volts to decibels (`volts-to-decibels`) +- [x] Decibels to volts (`decibels-to-volts`) +- [x] Sound pressure level to decibels (`sound-pressure-level-to-decibels`) +- [x] Decibels to sound pressure level (`decibels-to-sound-pressure-level`) +- [x] Decibels to intensity (`decibels-to-intensity`) +- [x] Fractions to decimals (`fractions-to-decimals`) +- [x] Decimal to fraction (`decimal-to-fraction`) +- [x] Degrees, minutes, and seconds to decimal degrees (`degrees-minutes-and-seconds-to-decimal-degrees`) +- [x] Decimal degrees to degrees, minutes, and seconds (`decimal-degrees-to-degrees-minutes-and-seconds`) +- [x] Zeptograms to yoctograms (`zeptograms-to-yoctograms`) +- [x] Yoctograms to zeptograms (`yoctograms-to-zeptograms`) +- [x] Yards to meters (`yards-to-meters`) +- [x] Yards per second to meters per second (`yards-per-second-to-meters-per-second`) +- [x] Weeks to months (`weeks-to-months`) +- [x] Watts to horsepower (`watts-to-horsepower`) +- [x] Watts to BTU/hour (`watts-to-btuhour`) +- [x] Troy ounces to grams (`troy-ounces-to-grams`) +- [x] Torr to Pascal (`torr-to-pascal`) +- [x] Tons to pounds (`tons-to-pounds`) +- [x] Tons of refrigeration to kilowatts (`tons-of-refrigeration-to-kilowatts`) +- [x] Terabytes to petabytes (`terabytes-to-petabytes`) +- [x] Terabytes to gigabytes (`terabytes-to-gigabytes`) +- [x] Teaspoons to milliliters (`teaspoons-to-milliliters`) +- [x] Tablespoons to milliliters (`tablespoons-to-milliliters`) +- [x] Stones to pounds (`stones-to-pounds`) +- [x] Square yards to square miles (`square-yards-to-square-miles`) +- [x] Square miles to square yards (`square-miles-to-square-yards`) +- [x] Square meters to square kilometers (`square-meters-to-square-kilometers`) +- [x] Square meters to square feet (`square-meters-to-square-feet`) +- [x] Square kilometers to square meters (`square-kilometers-to-square-meters`) +- [x] Square inches to square centimeters (`square-inches-to-square-centimeters`) +- [x] Square feet to square meters (`square-feet-to-square-meters`) +- [x] Square feet to acres (`square-feet-to-acres`) +- [x] Square centimeters to square inches (`square-centimeters-to-square-inches`) +- [x] Slugs to kilograms (`slugs-to-kilograms`) +- [x] Sievert to rem (`sievert-to-rem`) +- [x] Seconds to minutes (`seconds-to-minutes`) +- [x] Seconds to milliseconds (`seconds-to-milliseconds`) +- [x] Rutherford to becquerel (`rutherford-to-becquerel`) +- [x] RPM to rad/s (`rpm-to-rads`) +- [x] Roentgen to coulomb per kilogram (`roentgen-to-coulomb-per-kilogram`) +- [x] Rem to sievert (`rem-to-sievert`) +- [x] Radians to degrees (`radians-to-degrees`) +- [x] Rad/s to RPM (`rads-to-rpm`) +- [x] Rad to gray (`rad-to-gray`) +- [x] PSI to megapascals (`psi-to-megapascals`) +- [x] PSI to bar (`psi-to-bar`) +- [x] PPI to DPI (`ppi-to-dpi`) +- [x] Pounds to tons (`pounds-to-tons`) +- [x] Pounds to stones (`pounds-to-stones`) +- [x] Pounds to ounces (`pounds-to-ounces`) +- [x] Pounds to kilograms (`pounds-to-kilograms`) +- [x] Pints to liters (`pints-to-liters`) +- [x] Percent to PPM (`percent-to-ppm`) +- [x] Pennyweights to grams (`pennyweights-to-grams`) +- [x] Pascals to inches of water (`pascals-to-inches-of-water`) +- [x] Pascals to inches of mercury (`pascals-to-inches-of-mercury`) +- [x] Pascal to atmosphere (`pascal-to-atmosphere`) +- [x] Ounces to pounds (`ounces-to-pounds`) +- [x] Newton-meters to foot-pounds (`newton-meters-to-foot-pounds`) +- [x] Nanometers to micrometers (`nanometers-to-micrometers`) +- [x] Nanograms to picograms (`nanograms-to-picograms`) +- [x] Metric tons to long tons (`metric-tons-to-long-tons`) +- [x] Lumens to candela (`lumens-to-candela`) +- [x] GSM to Ounces per sq yard (`gsm-to-ounces-per-sq-yard`) +- [x] Hands to Centimeters (`hands-to-centimeters`) +- [x] Hands to Inches (`hands-to-inches`) +- [x] Hartree to Electron-volts (`hartree-to-electron-volts`) +- [x] Hectares to Ares (`hectares-to-ares`) +- [x] Hectares to Square Feet (`hectares-to-square-feet`) +- [x] Hectares to Square Kilometers (`hectares-to-square-kilometers`) +- [x] Hectares to Square Meters (`hectares-to-square-meters`) +- [x] Hectopascals to Atmosphere (`hectopascals-to-atmosphere`) +- [x] Hectopascals to Bar (`hectopascals-to-bar`) +- [x] Hectopascals to PSI (`hectopascals-to-psi`) +- [x] Henries to Millihenries (`henries-to-millihenries`) +- [x] Hertz to Kilohertz (`hertz-to-kilohertz`) +- [x] Hertz to RPM (`hertz-to-rpm`) +- [x] Hex to Octal (`hex-to-octal`) +- [x] Hogshead to Liters (`hogshead-to-liters`) +- [x] Horsepower to BTU/hour (`horsepower-to-btuhour`) +- [x] Horsepower to Tons of Refrigeration (`horsepower-to-tons-of-refrigeration`) +- [x] Horsepower to Watts (`horsepower-to-watts`) +- [x] Hours to Seconds (`hours-to-seconds`) +- [x] Hours to Weeks (`hours-to-weeks`) +- [x] Hundredweight (cwt) to Kilograms (`hundredweight-to-kilograms`) +- [x] Imperial fl oz to US fl oz (`imperial-fl-oz-to-us-fl-oz`) +- [x] Imperial gallons to Liters (`imperial-gallons-to-liters`) +- [x] Imperial gallons to US gallons (`imperial-gallons-to-us-gallons`) +- [x] Imperial pints to US pints (`imperial-pints-to-us-pints`) +- [x] Inch-Pounds to Foot-Pounds (`inch-pounds-to-foot-pounds`) +- [x] Inch-Pounds to Newton-Meters (`inch-pounds-to-newton-meters`) +- [x] Inches of Water to PSI (`inches-of-water-to-psi`) +- [x] Inches per second to cm per second (`inches-per-second-to-cm-per-second`) +- [x] Inches to Meters (`inches-to-meters`) +- [x] Inches to Points (`inches-to-points`) +- [x] Inches to Yards (`inches-to-yards`) +- [x] Jansky to Watts per sq meter per Hertz (`jansky-to-watts-per-square-meter-per-hertz`) +- [x] Jiffies to Seconds (`jiffies-to-seconds`) +- [x] Jiggers to Milliliters (`jiggers-to-milliliters`) +- [x] Joules to BTU (`joules-to-btu`) +- [x] Joules to Electron-volts (`joules-to-electron-volts`) +- [x] Joules to Foot-pounds (`joules-to-foot-pounds`) +- [x] Joules to Kilowatt-hours (`joules-to-kilowatt-hours`) +- [x] Cubic Feet to Gallons (`cubic-feet-to-gallons`) +- [x] Cubic Meters to Cubic Feet (`cubic-meters-to-cubic-feet`) +- [x] Foot-candles to Lux (`foot-candles-to-lux`) +- [x] Foot-pounds (energy) to Joules (`foot-pounds-energy-to-joules`) +- [x] Foot-Pounds to Inch-Pounds (`foot-pounds-to-inch-pounds`) +- [x] Fortnights to Days (`fortnights-to-days`) +- [x] Furlongs per fortnight to m/s (`furlongs-per-fortnight-to-meters-per-second`) +- [x] Furlongs to Meters (`furlongs-to-meters`) +- [x] Furlongs to Miles (`furlongs-to-miles`) +- [x] Gallons per minute to CFS (`gallons-per-minute-to-cubic-feet-per-second`) +- [x] Gallons per minute to Liters per minute (`gallons-per-minute-to-liters-per-minute`) +- [x] Gallons to Barrel (US oil) (`gallons-to-barrel-us-oil`) +- [x] Gallons to Cubic Feet (`gallons-to-cubic-feet`) +- [x] Gallons to Cubic Meters (`gallons-to-cubic-meters`) +- [x] Gallons to Cups (`gallons-to-cups`) +- [x] Gallons to Fluid Ounces (`gallons-to-fluid-ounces`) +- [x] Gallons to Pints (`gallons-to-pints`) +- [x] Gallons to Quarts (`gallons-to-quarts`) +- [x] Gamma (mass) to Micrograms (`gamma-mass-to-micrograms`) +- [x] Gauss to Tesla (`gauss-to-tesla`) +- [x] Gbps to Mbps (`gbps-to-mbps`) +- [x] Gibibytes to Gigabytes (`gibibytes-to-gigabytes`) +- [x] Gigabits to Megabits (`gigabits-to-megabits`) +- [x] Gigabytes to Bytes (`gigabytes-to-bytes`) +- [x] Gigabytes to Gibibytes (`gigabytes-to-gibibytes`) +- [x] Gigabytes to Petabytes (`gigabytes-to-petabytes`) +- [x] Gigahertz to Megahertz (`gigahertz-to-megahertz`) +- [x] Gill to Milliliters (`gill-to-milliliters`) +- [x] Gradians to Degrees (`gradians-to-degrees`) +- [x] Gradians to Radians (`gradians-to-radians`) +- [x] Grains to Ounces (`grains-to-ounces`) +- [x] Grams per cubic centimeter to Kilograms per liter (`grams-per-cubic-centimeter-to-kilograms-per-liter`) +- [x] Grams per milliliter to Kilograms per cubic meter (`grams-per-milliliter-to-kilograms-per-cubic-meter`) +- [x] Grams to Drams (`grams-to-drams`) +- [x] Grams to Kilograms (`grams-to-kilograms`) +- [x] Grams to Momme (`grams-to-momme`) +- [x] Grams to Pounds (`grams-to-pounds`) +- [x] Grams to Scruples (`grams-to-scruples`) +- [x] Grams to Tolas (`grams-to-tolas`) +- [x] Gray to Sievert (`gray-to-sievert`) ## Backlog / To-Do - [x] Acres to hectares @@ -521,16 +815,16 @@ Whenever a new calculator is published via the REST API, it must be appended her ### New Conversions Backlog (from brainstorm expansion) #### Next 20 ready conversions (no additional input needed) -- [ ] Gbps to Mbps (1 gigabit per second = 1,000 megabits per second) -- [ ] Gibibytes to Gigabytes (1 gibibyte ≈ 1.073741824 gigabytes) -- [ ] Gigabits to Megabits (1 gigabit = 1,000 megabits) -- [ ] Gigabytes to Bytes (1 gigabyte = 1,000,000,000 bytes) -- [ ] Gigabytes to Gibibytes (1 gigabyte ≈ 0.931322575 gibibytes) -- [ ] Gigabytes to Petabytes (1 gigabyte = 0.000001 petabytes) -- [ ] Gigahertz to Megahertz (1 gigahertz = 1,000 megahertz) -- [ ] Gill to Milliliters (1 US gill = 118.294 milliliters) -- [ ] Gradians to Degrees (1 gradian = 0.9 degrees) -- [ ] Gradians to Radians (1 gradian ≈ 0.01570796 radians) +- [x] Gbps to Mbps (1 gigabit per second = 1,000 megabits per second) +- [x] Gibibytes to Gigabytes (1 gibibyte ≈ 1.073741824 gigabytes) +- [x] Gigabits to Megabits (1 gigabit = 1,000 megabits) +- [x] Gigabytes to Bytes (1 gigabyte = 1,000,000,000 bytes) +- [x] Gigabytes to Gibibytes (1 gigabyte ≈ 0.931322575 gibibytes) +- [x] Gigabytes to Petabytes (1 gigabyte = 0.000001 petabytes) +- [x] Gigahertz to Megahertz (1 gigahertz = 1,000 megahertz) +- [x] Gill to Milliliters (1 US gill = 118.294 milliliters) +- [x] Gradians to Degrees (1 gradian = 0.9 degrees) +- [x] Gradians to Radians (1 gradian ≈ 0.01570796 radians) - [ ] Grains to Ounces (1 grain ≈ 0.002285714 ounces) - [ ] Grams per cubic centimeter to Kilograms per liter (1 g/cm³ = 1 kg/L) - [ ] Grams per milliliter to Kilograms per cubic meter (1 g/mL = 1,000 kg/m³) diff --git a/hdyc-svelte/README.md b/hdyc-svelte/README.md index 8517b67..b37081e 100644 --- a/hdyc-svelte/README.md +++ b/hdyc-svelte/README.md @@ -14,7 +14,7 @@ This repository hosts the modern SvelteKit experience for **howdoyouconvert.com* 4. When you are ready to verify the production bundle, run `npm run build` and optionally `npm run preview` or `npm run start` to exercise the compiled `build` folder. ## Data pipeline -- The single source of truth for every published calculator is `calculators_list.md` in the repo root. The **Active Calculators** table at the top defines which conversions are shipped; the trailing backlog checklist stores future work. +- The single source of truth for every published calculator is `calculators_list.md` in the repo root. The **Active Calculators** table at the top defines which conversions are shipped, and the completion checklist underneath should match the same set of Svelte calculators. - After editing `calculators_list.md`, run `python migrate.py` from the repo root. The script reads the registry, infers categories/types based on the conversion factor column, and writes the autogenerated `hdyc-svelte/src/lib/data/calculators.ts` file. - `calculators.ts` contains the `calculators` array, the `categories` map, and helper lookup/search functions. **Do not edit it manually**—regenerate it through `migrate.py` whenever the registry changes. - The generator also populates descriptions, hidden flags, and label metadata, so confirm the regenerated file before committing. diff --git a/hdyc-svelte/src/lib/components/Calculator.svelte b/hdyc-svelte/src/lib/components/Calculator.svelte index 69c76e8..a0a8741 100644 --- a/hdyc-svelte/src/lib/components/Calculator.svelte +++ b/hdyc-svelte/src/lib/components/Calculator.svelte @@ -55,6 +55,9 @@

{config.name}

+ {#if config.teaser} +

{config.teaser}

+ {/if}
@@ -147,6 +150,12 @@ color: #fff; letter-spacing: -0.01em; } + .calc-subtitle { + margin: 0.35rem 0 0; + font-size: 0.9rem; + color: rgba(255, 255, 255, 0.85); + font-weight: 400; + } .calc-body { display: grid; diff --git a/hdyc-svelte/src/lib/data/calculators.ts b/hdyc-svelte/src/lib/data/calculators.ts index 6edb9d8..f941eed 100644 --- a/hdyc-svelte/src/lib/data/calculators.ts +++ b/hdyc-svelte/src/lib/data/calculators.ts @@ -13,6 +13,7 @@ export interface CalculatorDef { toBase?: number; labels: { in1: string; in2: string; in3?: string }; descriptionHTML?: string; + teaser?: string; } export const categories: Record = { @@ -37,16 +38,16 @@ export const categories: Record = { }; export const calculators: CalculatorDef[] = [ - {"slug": "inches-to-feet", "name": "Inches to Feet \u2013 If a shelf spans 36 inches, how many feet of trim does it cover?", "category": "length", "type": "standard", "labels": {"in1": "Inches", "in2": "Feet \u2013 If a shelf spans 36 inches, how many feet of trim does it cover?"}, "factor": 12.0}, - {"slug": "kilograms-to-pounds", "name": "Kilograms to Pounds \u2013 A cyclist weighing 68 kilograms wonders how many pounds the scale will show.", "category": "weight", "type": "standard", "labels": {"in1": "Kilograms", "in2": "Pounds \u2013 A cyclist weighing 68 kilograms wonders how many pounds the scale will show."}, "factor": 0.453592}, - {"slug": "miles-to-kilometers", "name": "Miles to Kilometers \u2013 Planning a road trip, how many kilometers will 120 miles travel?", "category": "length", "type": "standard", "labels": {"in1": "Miles", "in2": "Kilometers \u2013 Planning a road trip, how many kilometers will 120 miles travel?"}, "factor": 0.62137119}, - {"slug": "acres-to-hectares", "name": "Acres to Hectares \u2013 A 50-acre farm prompts the question: how many hectares does it include?", "category": "area", "type": "standard", "labels": {"in1": "Acres", "in2": "Hectares \u2013 A 50-acre farm prompts the question: how many hectares does it include?"}, "factor": 0.404686}, - {"slug": "acres-to-square-feet", "name": "Acres to Square Feet \u2013 For the listing, convert 2 acres into square feet to describe the lot size.", "category": "length", "type": "standard", "labels": {"in1": "Acres", "in2": "Square Feet \u2013 For the listing, convert 2 acres into square feet to describe the lot size."}, "factor": 43560.0}, - {"slug": "angstroms-to-nanometers", "name": "Angstroms to Nanometers \u2013 A materials scientist changes 25 angstroms into nanometers to describe a film thickness.", "category": "length", "type": "standard", "labels": {"in1": "Angstroms", "in2": "Nanometers \u2013 A materials scientist changes 25 angstroms into nanometers to describe a film thickness."}, "factor": 0.1}, - {"slug": "apothecary-ounces-to-grams", "name": "Apothecary Ounces to Grams \u2013 Preparing a tincture, how many grams are packed in 8 apothecary ounces?", "category": "weight", "type": "standard", "labels": {"in1": "Apothecary Ounces", "in2": "Grams \u2013 Preparing a tincture, how many grams are packed in 8 apothecary ounces?"}, "factor": 31.1034768}, - {"slug": "astronomical-units-to-light-years", "name": "Astronomical Units to Light Years \u2013 The astronomer asks how many light years correspond to 5 astronomical units.", "category": "time", "type": "standard", "labels": {"in1": "Astronomical Units", "in2": "Light Years \u2013 The astronomer asks how many light years correspond to 5 astronomical units."}, "factor": 1.58125074e-05}, - {"slug": "atmosphere-to-mmhg", "name": "Atmosphere to mmHg \u2013 In the lab, what is 2 atmospheres of pressure in millimeters of mercury?", "category": "length", "type": "standard", "labels": {"in1": "Atmosphere", "in2": "mmHg \u2013 In the lab, what is 2 atmospheres of pressure in millimeters of mercury?"}, "factor": 760.0}, - {"slug": "attograms-to-femtograms", "name": "Attograms to Femtograms \u2013 To compare particle masses, convert 150 attograms into femtograms.", "category": "weight", "type": "standard", "labels": {"in1": "Attograms", "in2": "Femtograms \u2013 To compare particle masses, convert 150 attograms into femtograms."}, "factor": 0.001}, + {"slug": "inches-to-feet", "name": "Inches to Feet", "category": "length", "type": "standard", "teaser": "If a shelf spans 36 inches, how many feet of trim does it cover?", "labels": {"in1": "Inches", "in2": "Feet"}, "factor": 12.0}, + {"slug": "kilograms-to-pounds", "name": "Kilograms to Pounds", "category": "weight", "type": "standard", "labels": {"in1": "Kilograms", "in2": "Pounds"}, "factor": 2.20462262}, + {"slug": "miles-to-kilometers", "name": "Miles to Kilometers", "category": "length", "type": "standard", "teaser": "Planning a road trip, how many kilometers will 120 miles travel?", "labels": {"in1": "Miles", "in2": "Kilometers"}, "factor": 0.62137119, "hidden": true}, + {"slug": "acres-to-hectares", "name": "Acres to Hectares", "category": "area", "type": "standard", "teaser": "A 50-acre farm prompts the question: how many hectares does it include?", "labels": {"in1": "Acres", "in2": "Hectares"}, "factor": 0.404686}, + {"slug": "acres-to-square-feet", "name": "Acres to Square Feet", "category": "length", "type": "standard", "teaser": "For the listing, convert 2 acres into square feet to describe the lot size.", "labels": {"in1": "Acres", "in2": "Square Feet"}, "factor": 43560.0}, + {"slug": "angstroms-to-nanometers", "name": "Angstroms to Nanometers", "category": "length", "type": "standard", "teaser": "A materials scientist changes 25 angstroms into nanometers to describe a film thickness.", "labels": {"in1": "Angstroms", "in2": "Nanometers"}, "factor": 0.1}, + {"slug": "apothecary-ounces-to-grams", "name": "Apothecary Ounces to Grams", "category": "weight", "type": "standard", "teaser": "Preparing a tincture, how many grams are packed in 8 apothecary ounces?", "labels": {"in1": "Apothecary Ounces", "in2": "Grams"}, "factor": 31.1034768}, + {"slug": "astronomical-units-to-light-years", "name": "Astronomical Units to Light Years", "category": "time", "type": "standard", "teaser": "The astronomer asks how many light years correspond to 5 astronomical units.", "labels": {"in1": "Astronomical Units", "in2": "Light Years"}, "factor": 1.58125074e-05, "hidden": true}, + {"slug": "atmosphere-to-mmhg", "name": "Atmosphere to mmHg", "category": "pressure", "type": "standard", "teaser": "In the lab, what is 2 atmospheres of pressure in millimeters of mercury?", "labels": {"in1": "Atmosphere", "in2": "mmHg"}, "factor": 760.0}, + {"slug": "attograms-to-femtograms", "name": "Attograms to Femtograms", "category": "weight", "type": "standard", "teaser": "To compare particle masses, convert 150 attograms into femtograms.", "labels": {"in1": "Attograms", "in2": "Femtograms"}, "factor": 0.001, "hidden": true}, {"slug": "bar-to-pascal", "name": "Bar to Pascal", "category": "pressure", "type": "standard", "labels": {"in1": "Bar", "in2": "Pascal"}, "factor": 100000.0}, {"slug": "bar-to-psi", "name": "Bar to PSI", "category": "pressure", "type": "standard", "labels": {"in1": "Bar", "in2": "PSI"}, "factor": 14.5037738}, {"slug": "becquerel-to-curie", "name": "Becquerel to Curie", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Curie"}, "factor": 2.7027027e-11, "hidden": true}, @@ -94,7 +95,7 @@ export const calculators: CalculatorDef[] = [ {"slug": "grams-to-pennyweights", "name": "Grams to Pennyweights", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Pennyweights"}, "factor": 0.643014931, "hidden": true}, {"slug": "grams-to-troy-ounces", "name": "Grams to Troy Ounces", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Troy Ounces"}, "factor": 0.0321507466, "hidden": true}, {"slug": "gray-to-rad", "name": "Gray to Rad", "category": "radiation", "type": "standard", "labels": {"in1": "Gray", "in2": "Rad"}, "factor": 100.0}, - {"slug": "grams-to-apothecary-ounces", "name": "Grams to Apothecary Ounces", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Apothecary Ounces"}, "factor": 0.0321507466, "hidden": true}, + {"slug": "grams-to-apothecary-ounces", "name": "Grams to Apothecary ounces", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Apothecary ounces"}, "factor": 0.0321507466, "hidden": true}, {"slug": "grams-to-carats", "name": "Grams to Carats", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Carats"}, "factor": 5.0}, {"slug": "grams-to-grains", "name": "Grams to Grains", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Grains"}, "factor": 15.4323584}, {"slug": "horsepower-to-kilowatts", "name": "Horsepower to Kilowatts", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Kilowatts"}, "factor": 0.745699872, "hidden": true}, @@ -123,7 +124,6 @@ export const calculators: CalculatorDef[] = [ {"slug": "milligrams-to-grams", "name": "Milligrams to Grams", "category": "weight", "type": "standard", "labels": {"in1": "Milligrams", "in2": "Grams"}, "factor": 0.001, "hidden": true}, {"slug": "millibars-to-pascals", "name": "Millibars to Pascals", "category": "pressure", "type": "standard", "labels": {"in1": "Millibars", "in2": "Pascals"}, "factor": 100.0}, {"slug": "millimeters-of-mercury-to-pascals", "name": "Millimeters of Mercury to Pascals", "category": "length", "type": "standard", "labels": {"in1": "Millimeters of Mercury", "in2": "Pascals"}, "factor": 133.322}, - {"slug": "millimeters-of-mercury-to-pascals", "name": "Millimeters of Mercury to Pascals", "category": "length", "type": "standard", "labels": {"in1": "Millimeters of Mercury", "in2": "Pascals"}, "factor": 133.322}, {"slug": "meters-per-second-to-feet-per-second", "name": "Meters per second to Feet per second", "category": "length", "type": "standard", "labels": {"in1": "Meters per second", "in2": "Feet per second"}, "factor": 3.28084}, {"slug": "meters-per-second-to-miles-per-hour", "name": "Meters per second to Miles per hour", "category": "length", "type": "standard", "labels": {"in1": "Meters per second", "in2": "Miles per hour"}, "factor": 2.23694}, {"slug": "meters-per-second-to-yards-per-second", "name": "Meters per second to Yards per second", "category": "length", "type": "standard", "labels": {"in1": "Meters per second", "in2": "Yards per second"}, "factor": 1.09361}, @@ -178,12 +178,8 @@ export const calculators: CalculatorDef[] = [ {"slug": "decimal-to-binary", "name": "Decimal to Binary", "category": "number-systems", "type": "base", "labels": {"in1": "Decimal", "in2": "Binary"}, "toBase": 2, "fromBase": 10, "hidden": true}, {"slug": "decimal-to-hex", "name": "Decimal to Hex", "category": "number-systems", "type": "base", "labels": {"in1": "Decimal", "in2": "Hex"}, "toBase": 16, "fromBase": 10}, {"slug": "decimal-to-octal", "name": "Decimal to Octal", "category": "number-systems", "type": "standard", "labels": {"in1": "Decimal", "in2": "Octal"}}, - {"slug": "grams-to-apothecary-ounces", "name": "Grams to Apothecary ounces", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Apothecary ounces"}, "factor": 0.0321507466, "hidden": true}, - {"slug": "grams-to-carats", "name": "Grams to Carats", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Carats"}, "factor": 5.0}, - {"slug": "grams-to-grains", "name": "Grams to Grains", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Grains"}, "factor": 15.4323584}, {"slug": "hex-to-binary", "name": "Hex to Binary", "category": "number-systems", "type": "base", "labels": {"in1": "Hex", "in2": "Binary"}, "toBase": 2, "fromBase": 16, "hidden": true}, {"slug": "hex-to-decimal", "name": "Hex to Decimal", "category": "number-systems", "type": "standard", "labels": {"in1": "Hex", "in2": "Decimal"}, "hidden": true}, - {"slug": "kilograms-to-pounds", "name": "Kilograms to Pounds", "category": "weight", "type": "standard", "labels": {"in1": "Kilograms", "in2": "Pounds"}, "factor": 2.20462262}, {"slug": "watts-to-amps", "name": "Watts to amps", "category": "power", "type": "3col", "labels": {"in1": "Watts", "in2": "amps", "in3": "Volts"}, "hidden": true}, {"slug": "volts-to-amps", "name": "Volts to amps", "category": "electrical", "type": "3col", "labels": {"in1": "Volts", "in2": "amps", "in3": "Result"}, "hidden": true}, {"slug": "siemens-to-ohms", "name": "Siemens to ohms", "category": "electrical", "type": "inverse", "labels": {"in1": "Siemens", "in2": "ohms"}, "hidden": true}, @@ -258,86 +254,86 @@ export const calculators: CalculatorDef[] = [ {"slug": "nanograms-to-picograms", "name": "Nanograms to picograms", "category": "weight", "type": "standard", "labels": {"in1": "Nanograms", "in2": "picograms"}, "factor": 1000.0}, {"slug": "metric-tons-to-long-tons", "name": "Metric tons to long tons", "category": "weight", "type": "standard", "labels": {"in1": "Metric tons", "in2": "long tons"}, "factor": 0.9842}, {"slug": "lumens-to-candela", "name": "Lumens to candela", "category": "light", "type": "standard", "labels": {"in1": "Lumens", "in2": "candela"}, "factor": 0.079577, "hidden": true}, - {"slug": "gsm-to-ounces-per-sq-yard", "name": "GSM to Ounces per sq yard \u2013 Convert GSM to Ounces per sq yard instantly.", "category": "length", "type": "standard", "labels": {"in1": "GSM", "in2": "Ounces per sq yard \u2013 Convert GSM to Ounces per sq yard instantly."}, "factor": 0.02952}, - {"slug": "hands-to-centimeters", "name": "Hands to Centimeters \u2013 Convert Hands to Centimeters instantly.", "category": "length", "type": "standard", "labels": {"in1": "Hands", "in2": "Centimeters \u2013 Convert Hands to Centimeters instantly."}, "factor": 10.16}, - {"slug": "hands-to-inches", "name": "Hands to Inches \u2013 Convert Hands to Inches instantly.", "category": "length", "type": "standard", "labels": {"in1": "Hands", "in2": "Inches \u2013 Convert Hands to Inches instantly."}, "factor": 4.0}, - {"slug": "hartree-to-electron-volts", "name": "Hartree to Electron-volts \u2013 Convert Hartree to Electron-volts instantly.", "category": "energy", "type": "standard", "labels": {"in1": "Hartree", "in2": "Electron-volts \u2013 Convert Hartree to Electron-volts instantly."}, "factor": 27.2114}, - {"slug": "hectares-to-ares", "name": "Hectares to Ares \u2013 Convert Hectares to Ares instantly.", "category": "area", "type": "standard", "labels": {"in1": "Hectares", "in2": "Ares \u2013 Convert Hectares to Ares instantly."}, "factor": 100.0}, - {"slug": "hectares-to-square-feet", "name": "Hectares to Square Feet \u2013 Convert Hectares to Square Feet instantly.", "category": "length", "type": "standard", "labels": {"in1": "Hectares", "in2": "Square Feet \u2013 Convert Hectares to Square Feet instantly."}, "factor": 107639.0}, - {"slug": "hectares-to-square-kilometers", "name": "Hectares to Square Kilometers \u2013 Convert Hectares to Square Kilometers instantly.", "category": "length", "type": "standard", "labels": {"in1": "Hectares", "in2": "Square Kilometers \u2013 Convert Hectares to Square Kilometers instantly."}, "factor": 0.01}, - {"slug": "hectares-to-square-meters", "name": "Hectares to Square Meters \u2013 Convert Hectares to Square Meters instantly.", "category": "length", "type": "standard", "labels": {"in1": "Hectares", "in2": "Square Meters \u2013 Convert Hectares to Square Meters instantly."}, "factor": 10000.0}, - {"slug": "hectopascals-to-atmosphere", "name": "Hectopascals to Atmosphere \u2013 Convert Hectopascals to Atmosphere instantly.", "category": "pressure", "type": "standard", "labels": {"in1": "Hectopascals", "in2": "Atmosphere \u2013 Convert Hectopascals to Atmosphere instantly."}, "factor": 0.000986923}, - {"slug": "hectopascals-to-bar", "name": "Hectopascals to Bar \u2013 Convert Hectopascals to Bar instantly.", "category": "pressure", "type": "standard", "labels": {"in1": "Hectopascals", "in2": "Bar \u2013 Convert Hectopascals to Bar instantly."}, "factor": 0.001}, - {"slug": "hectopascals-to-psi", "name": "Hectopascals to PSI \u2013 Convert Hectopascals to PSI instantly.", "category": "pressure", "type": "standard", "labels": {"in1": "Hectopascals", "in2": "PSI \u2013 Convert Hectopascals to PSI instantly."}, "factor": 0.0145038}, - {"slug": "henries-to-millihenries", "name": "Henries to Millihenries \u2013 Convert Henries to Millihenries instantly.", "category": "other", "type": "standard", "labels": {"in1": "Henries", "in2": "Millihenries \u2013 Convert Henries to Millihenries instantly."}, "factor": 1000.0}, - {"slug": "hertz-to-kilohertz", "name": "Hertz to Kilohertz \u2013 Convert Hertz to Kilohertz instantly.", "category": "other", "type": "standard", "labels": {"in1": "Hertz", "in2": "Kilohertz \u2013 Convert Hertz to Kilohertz instantly."}, "factor": 0.001}, - {"slug": "hertz-to-rpm", "name": "Hertz to RPM \u2013 Convert Hertz to RPM instantly.", "category": "speed", "type": "standard", "labels": {"in1": "Hertz", "in2": "RPM \u2013 Convert Hertz to RPM instantly."}, "factor": 60.0}, - {"slug": "hex-to-octal", "name": "Hex to Octal \u2013 Convert Hex to Octal instantly.", "category": "number-systems", "type": "base", "labels": {"in1": "Hex", "in2": "Octal \u2013 Convert Hex to Octal instantly."}, "fromBase": 16, "toBase": 8}, - {"slug": "hogshead-to-liters", "name": "Hogshead to Liters \u2013 Convert Hogshead (US) to Liters instantly.", "category": "volume", "type": "standard", "labels": {"in1": "Hogshead", "in2": "Liters \u2013 Convert Hogshead (US) to Liters instantly."}, "factor": 238.481}, - {"slug": "horsepower-to-btuhour", "name": "Horsepower to BTU/hour \u2013 Convert Horsepower to BTU/hour instantly.", "category": "energy", "type": "standard", "labels": {"in1": "Horsepower", "in2": "BTU/hour \u2013 Convert Horsepower to BTU/hour instantly."}, "factor": 2544.43}, - {"slug": "horsepower-to-tons-of-refrigeration", "name": "Horsepower to Tons of Refrigeration \u2013 Convert Horsepower to Tons of Refrigeration instantly.", "category": "weight", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Tons of Refrigeration \u2013 Convert Horsepower to Tons of Refrigeration instantly."}, "factor": 0.284345}, - {"slug": "horsepower-to-watts", "name": "Horsepower to Watts \u2013 Convert Horsepower to Watts instantly.", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Watts \u2013 Convert Horsepower to Watts instantly."}, "factor": 745.7}, - {"slug": "hours-to-seconds", "name": "Hours to Seconds \u2013 Convert Hours to Seconds instantly.", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Seconds \u2013 Convert Hours to Seconds instantly."}, "factor": 3600.0}, - {"slug": "hours-to-weeks", "name": "Hours to Weeks \u2013 Convert Hours to Weeks instantly.", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Weeks \u2013 Convert Hours to Weeks instantly."}, "factor": 0.00595238}, - {"slug": "hundredweight-to-kilograms", "name": "Hundredweight (cwt) to Kilograms \u2013 Convert Hundredweight (cwt) to Kilograms instantly.", "category": "weight", "type": "standard", "labels": {"in1": "Hundredweight (cwt)", "in2": "Kilograms \u2013 Convert Hundredweight (cwt) to Kilograms instantly."}, "factor": 45.3592}, - {"slug": "imperial-fl-oz-to-us-fl-oz", "name": "Imperial fl oz to US fl oz \u2013 Convert Imperial fl oz to US fl oz instantly.", "category": "other", "type": "standard", "labels": {"in1": "Imperial fl oz", "in2": "US fl oz \u2013 Convert Imperial fl oz to US fl oz instantly."}, "factor": 1.20095}, - {"slug": "imperial-gallons-to-liters", "name": "Imperial gallons to Liters \u2013 Convert Imperial gallons to Liters instantly.", "category": "volume", "type": "standard", "labels": {"in1": "Imperial gallons", "in2": "Liters \u2013 Convert Imperial gallons to Liters instantly."}, "factor": 4.54609}, - {"slug": "imperial-gallons-to-us-gallons", "name": "Imperial gallons to US gallons \u2013 Convert Imperial gallons to US gallons instantly.", "category": "volume", "type": "standard", "labels": {"in1": "Imperial gallons", "in2": "US gallons \u2013 Convert Imperial gallons to US gallons instantly."}, "factor": 1.20095}, - {"slug": "imperial-pints-to-us-pints", "name": "Imperial pints to US pints \u2013 Convert Imperial pints to US pints instantly.", "category": "volume", "type": "standard", "labels": {"in1": "Imperial pints", "in2": "US pints \u2013 Convert Imperial pints to US pints instantly."}, "factor": 1.20095}, - {"slug": "inch-pounds-to-foot-pounds", "name": "Inch-Pounds to Foot-Pounds \u2013 Convert Inch-Pounds to Foot-Pounds instantly.", "category": "length", "type": "standard", "labels": {"in1": "Inch-Pounds", "in2": "Foot-Pounds \u2013 Convert Inch-Pounds to Foot-Pounds instantly."}, "factor": 0.0833333}, - {"slug": "inch-pounds-to-newton-meters", "name": "Inch-Pounds to Newton-Meters \u2013 Convert Inch-Pounds to Newton-Meters instantly.", "category": "length", "type": "standard", "labels": {"in1": "Inch-Pounds", "in2": "Newton-Meters \u2013 Convert Inch-Pounds to Newton-Meters instantly."}, "factor": 0.112985}, - {"slug": "inches-of-water-to-psi", "name": "Inches of Water to PSI \u2013 Convert Inches of Water to PSI instantly.", "category": "length", "type": "standard", "labels": {"in1": "Inches of Water", "in2": "PSI \u2013 Convert Inches of Water to PSI instantly."}, "factor": 0.0360912}, - {"slug": "inches-per-second-to-cm-per-second", "name": "Inches per second to cm per second \u2013 Convert Inches per second to Centimeters per second instantly.", "category": "length", "type": "standard", "labels": {"in1": "Inches per second", "in2": "cm per second \u2013 Convert Inches per second to Centimeters per second instantly."}, "factor": 2.54}, - {"slug": "inches-to-meters", "name": "Inches to Meters \u2013 Convert Inches to Meters instantly.", "category": "length", "type": "standard", "labels": {"in1": "Inches", "in2": "Meters \u2013 Convert Inches to Meters instantly."}, "factor": 0.0254}, - {"slug": "inches-to-points", "name": "Inches to Points \u2013 Convert Inches to Points instantly.", "category": "length", "type": "standard", "labels": {"in1": "Inches", "in2": "Points \u2013 Convert Inches to Points instantly."}, "factor": 72.0}, - {"slug": "inches-to-yards", "name": "Inches to Yards \u2013 Convert Inches to Yards instantly.", "category": "length", "type": "standard", "labels": {"in1": "Inches", "in2": "Yards \u2013 Convert Inches to Yards instantly."}, "factor": 0.0277778}, - {"slug": "jansky-to-watts-per-square-meter-per-hertz", "name": "Jansky to Watts per sq meter per Hertz \u2013 Convert Jansky to Watts per square meter per Hertz instantly.", "category": "length", "type": "standard", "labels": {"in1": "Jansky", "in2": "Watts per sq meter per Hertz \u2013 Convert Jansky to Watts per square meter per Hertz instantly."}, "factor": 1e-26}, - {"slug": "jiffies-to-seconds", "name": "Jiffies to Seconds \u2013 Convert Jiffies to Seconds instantly.", "category": "time", "type": "standard", "labels": {"in1": "Jiffies", "in2": "Seconds \u2013 Convert Jiffies to Seconds instantly."}, "factor": 0.01}, - {"slug": "jiggers-to-milliliters", "name": "Jiggers to Milliliters \u2013 Convert Jiggers to Milliliters instantly.", "category": "volume", "type": "standard", "labels": {"in1": "Jiggers", "in2": "Milliliters \u2013 Convert Jiggers to Milliliters instantly."}, "factor": 44.3603}, - {"slug": "joules-to-btu", "name": "Joules to BTU \u2013 Convert Joules to BTU instantly.", "category": "energy", "type": "standard", "labels": {"in1": "Joules", "in2": "BTU \u2013 Convert Joules to BTU instantly."}, "factor": 0.000947817}, - {"slug": "joules-to-electron-volts", "name": "Joules to Electron-volts \u2013 Convert Joules to Electron-volts instantly.", "category": "energy", "type": "standard", "labels": {"in1": "Joules", "in2": "Electron-volts \u2013 Convert Joules to Electron-volts instantly."}, "factor": 6.24151e+18}, - {"slug": "joules-to-foot-pounds", "name": "Joules to Foot-pounds \u2013 Convert Joules to Foot-pounds instantly.", "category": "weight", "type": "standard", "labels": {"in1": "Joules", "in2": "Foot-pounds \u2013 Convert Joules to Foot-pounds instantly."}, "factor": 0.737562}, - {"slug": "joules-to-kilowatt-hours", "name": "Joules to Kilowatt-hours \u2013 Convert Joules to Kilowatt-hours instantly.", "category": "energy", "type": "standard", "labels": {"in1": "Joules", "in2": "Kilowatt-hours \u2013 Convert Joules to Kilowatt-hours instantly."}, "factor": 2.77778e-07}, - {"slug": "cubic-feet-to-gallons", "name": "Cubic Feet to Gallons \u2013 If a cistern volume reads three cubic feet, how many US gallons does that store?", "category": "length", "type": "standard", "labels": {"in1": "Cubic Feet", "in2": "Gallons \u2013 If a cistern volume reads three cubic feet, how many US gallons does that store?"}, "factor": 7.48052}, - {"slug": "cubic-meters-to-cubic-feet", "name": "Cubic Meters to Cubic Feet \u2013 A freight crate is two cubic meters; how many cubic feet of cargo space is that?", "category": "length", "type": "standard", "labels": {"in1": "Cubic Meters", "in2": "Cubic Feet \u2013 A freight crate is two cubic meters; how many cubic feet of cargo space is that?"}, "factor": 35.3147}, - {"slug": "foot-candles-to-lux", "name": "Foot-candles to Lux \u2013 Gallery staff want to match 150 foot-candles; what does that translate to in lux?", "category": "light", "type": "standard", "labels": {"in1": "Foot-candles", "in2": "Lux \u2013 Gallery staff want to match 150 foot-candles; what does that translate to in lux?"}, "factor": 10.7639}, - {"slug": "foot-pounds-energy-to-joules", "name": "Foot-pounds (energy) to Joules \u2013 The engine produces five foot-pounds of work; how many joules is that?", "category": "length", "type": "standard", "labels": {"in1": "Foot-pounds (energy)", "in2": "Joules \u2013 The engine produces five foot-pounds of work; how many joules is that?"}, "factor": 1.35581795}, - {"slug": "foot-pounds-to-inch-pounds", "name": "Foot-Pounds to Inch-Pounds \u2013 A torque spec calls for two foot-pounds; how many inch-pounds is that?", "category": "length", "type": "standard", "labels": {"in1": "Foot-Pounds", "in2": "Inch-Pounds \u2013 A torque spec calls for two foot-pounds; how many inch-pounds is that?"}, "factor": 12.0}, - {"slug": "fortnights-to-days", "name": "Fortnights to Days \u2013 The rental period lasts three fortnights; how many days will be billed?", "category": "time", "type": "standard", "labels": {"in1": "Fortnights", "in2": "Days \u2013 The rental period lasts three fortnights; how many days will be billed?"}, "factor": 14.0}, - {"slug": "furlongs-per-fortnight-to-meters-per-second", "name": "Furlongs per fortnight to m/s \u2013 Traveling at one furlong per fortnight, what speed in meters per second is that?", "category": "length", "type": "standard", "labels": {"in1": "Furlongs per fortnight", "in2": "m/s \u2013 Traveling at one furlong per fortnight, what speed in meters per second is that?"}, "factor": 1.336e-05}, - {"slug": "furlongs-to-meters", "name": "Furlongs to Meters \u2013 A race distance of two furlongs equals how many meters?", "category": "length", "type": "standard", "labels": {"in1": "Furlongs", "in2": "Meters \u2013 A race distance of two furlongs equals how many meters?"}, "factor": 201.168}, - {"slug": "furlongs-to-miles", "name": "Furlongs to Miles \u2013 A course covers eight furlongs; how far is that in miles?", "category": "length", "type": "standard", "labels": {"in1": "Furlongs", "in2": "Miles \u2013 A course covers eight furlongs; how far is that in miles?"}, "factor": 0.125}, - {"slug": "gallons-per-minute-to-cubic-feet-per-second", "name": "Gallons per minute to CFS \u2013 A pump pushes 200 gpm; what is that flow rate in cubic feet per second?", "category": "length", "type": "standard", "labels": {"in1": "Gallons per minute", "in2": "CFS \u2013 A pump pushes 200 gpm; what is that flow rate in cubic feet per second?"}, "factor": 0.00222801}, - {"slug": "gallons-per-minute-to-liters-per-minute", "name": "Gallons per minute to Liters per minute \u2013 A faucet flows at three gpm; what is that in liters per minute?", "category": "volume", "type": "standard", "labels": {"in1": "Gallons per minute", "in2": "Liters per minute \u2013 A faucet flows at three gpm; what is that in liters per minute?"}, "factor": 3.78541}, - {"slug": "gallons-to-barrel-us-oil", "name": "Gallons to Barrel (US oil) \u2013 A tanker carries 840 gallons; how many US oil barrels is that?", "category": "volume", "type": "standard", "labels": {"in1": "Gallons", "in2": "Barrel (US oil) \u2013 A tanker carries 840 gallons; how many US oil barrels is that?"}, "factor": 0.0238095238}, - {"slug": "gallons-to-cubic-feet", "name": "Gallons to Cubic Feet \u2013 A tank holds fifty gallons; how many cubic feet does that represent?", "category": "length", "type": "standard", "labels": {"in1": "Gallons", "in2": "Cubic Feet \u2013 A tank holds fifty gallons; how many cubic feet does that represent?"}, "factor": 0.133681}, - {"slug": "gallons-to-cubic-meters", "name": "Gallons to Cubic Meters \u2013 A reservoir stores 1,200 gallons; what is the cubic meter value?", "category": "length", "type": "standard", "labels": {"in1": "Gallons", "in2": "Cubic Meters \u2013 A reservoir stores 1,200 gallons; what is the cubic meter value?"}, "factor": 0.00378541}, - {"slug": "gallons-to-cups", "name": "Gallons to Cups \u2013 A recipe needs two gallons; how many cups should you measure?", "category": "volume", "type": "standard", "labels": {"in1": "Gallons", "in2": "Cups \u2013 A recipe needs two gallons; how many cups should you measure?"}, "factor": 16.0}, - {"slug": "gallons-to-fluid-ounces", "name": "Gallons to Fluid Ounces \u2013 A pitcher pours three gallons; how many fluid ounces is that?", "category": "weight", "type": "standard", "labels": {"in1": "Gallons", "in2": "Fluid Ounces \u2013 A pitcher pours three gallons; how many fluid ounces is that?"}, "factor": 128.0}, - {"slug": "gallons-to-pints", "name": "Gallons to Pints \u2013 Pouring one gallon equals how many pints for serving?", "category": "volume", "type": "standard", "labels": {"in1": "Gallons", "in2": "Pints \u2013 Pouring one gallon equals how many pints for serving?"}, "factor": 8.0}, - {"slug": "gallons-to-quarts", "name": "Gallons to Quarts \u2013 Four gallons convert to how many quarts for canning?", "category": "volume", "type": "standard", "labels": {"in1": "Gallons", "in2": "Quarts \u2013 Four gallons convert to how many quarts for canning?"}, "factor": 4.0}, - {"slug": "gamma-mass-to-micrograms", "name": "Gamma (mass) to Micrograms \u2013 A lab note shows gamma units; what is that in micrograms?", "category": "weight", "type": "standard", "labels": {"in1": "Gamma (mass)", "in2": "Micrograms \u2013 A lab note shows gamma units; what is that in micrograms?"}}, - {"slug": "gauss-to-tesla", "name": "Gauss to Tesla \u2013 A field reads five thousand gauss; what is that in tesla?", "category": "other", "type": "standard", "labels": {"in1": "Gauss", "in2": "Tesla \u2013 A field reads five thousand gauss; what is that in tesla?"}, "factor": 0.0001}, - {"slug": "gbps-to-mbps", "name": "Gbps to Mbps \u2013 A fiber uplink reports 10 Gbps; how many megabits per second of capacity is that?", "category": "speed", "type": "standard", "labels": {"in1": "Gbps", "in2": "Mbps \u2013 A fiber uplink reports 10 Gbps; how many megabits per second of capacity is that?"}, "factor": 1000.0}, - {"slug": "gibibytes-to-gigabytes", "name": "Gibibytes to Gigabytes \u2013 A backup file is 2 GiB; how many gigabytes will the storage quota show?", "category": "data", "type": "standard", "labels": {"in1": "Gibibytes", "in2": "Gigabytes \u2013 A backup file is 2 GiB; how many gigabytes will the storage quota show?"}, "factor": 1.073741824}, - {"slug": "gigabits-to-megabits", "name": "Gigabits to Megabits \u2013 A carrier promises 3 gigabits per second; how many megabits is the link rated for?", "category": "speed", "type": "standard", "labels": {"in1": "Gigabits", "in2": "Megabits \u2013 A carrier promises 3 gigabits per second; how many megabits is the link rated for?"}, "factor": 1000.0}, - {"slug": "gigabytes-to-bytes", "name": "Gigabytes to Bytes \u2013 A download weighs 5 gigabytes; how many bytes does that represent?", "category": "data", "type": "standard", "labels": {"in1": "Gigabytes", "in2": "Bytes \u2013 A download weighs 5 gigabytes; how many bytes does that represent?"}, "factor": 1000000000.0}, - {"slug": "gigabytes-to-gibibytes", "name": "Gigabytes to Gibibytes \u2013 A storage plan advertises 1,000 GB; how many gibibytes is that?", "category": "data", "type": "standard", "labels": {"in1": "Gigabytes", "in2": "Gibibytes \u2013 A storage plan advertises 1,000 GB; how many gibibytes is that?"}, "factor": 0.931322575}, - {"slug": "gigabytes-to-petabytes", "name": "Gigabytes to Petabytes \u2013 A data warehouse holds 400,000 gigabytes; how many petabytes is that?", "category": "data", "type": "standard", "labels": {"in1": "Gigabytes", "in2": "Petabytes \u2013 A data warehouse holds 400,000 gigabytes; how many petabytes is that?"}, "factor": 1e-06}, - {"slug": "gigahertz-to-megahertz", "name": "Gigahertz to Megahertz \u2013 A processor is rated at 3 GHz; how many megahertz is that clock speed?", "category": "other", "type": "standard", "labels": {"in1": "Gigahertz", "in2": "Megahertz \u2013 A processor is rated at 3 GHz; how many megahertz is that clock speed?"}, "factor": 1000.0}, - {"slug": "gill-to-milliliters", "name": "Gill to Milliliters \u2013 A bartender pours two US gills; how many milliliters should the glass hold?", "category": "volume", "type": "standard", "labels": {"in1": "Gill", "in2": "Milliliters \u2013 A bartender pours two US gills; how many milliliters should the glass hold?"}, "factor": 118.294}, - {"slug": "gradians-to-degrees", "name": "Gradians to Degrees \u2013 A surveyor logs 100 gradians; what is that angle in degrees?", "category": "angle", "type": "standard", "labels": {"in1": "Gradians", "in2": "Degrees \u2013 A surveyor logs 100 gradians; what is that angle in degrees?"}, "factor": 0.9}, - {"slug": "gradians-to-radians", "name": "Gradians to Radians \u2013 A control dial sweeps 200 gradians; what is that rotation in radians?", "category": "angle", "type": "standard", "labels": {"in1": "Gradians", "in2": "Radians \u2013 A control dial sweeps 200 gradians; what is that rotation in radians?"}, "factor": 0.01570796}, - {"slug": "grains-to-ounces", "name": "Grains to Ounces \u2013 A jewelry batch weighs 100 grains; how many ounces is that?", "category": "weight", "type": "standard", "labels": {"in1": "Grains", "in2": "Ounces \u2013 A jewelry batch weighs 100 grains; how many ounces is that?"}, "factor": 0.002285714}, - {"slug": "grams-per-cubic-centimeter-to-kilograms-per-liter", "name": "Grams per cubic centimeter to Kilograms per liter \u2013 A fluid density of 1 g/cm\u00b3 equals how many kg/L?", "category": "length", "type": "standard", "labels": {"in1": "Grams per cubic centimeter", "in2": "Kilograms per liter \u2013 A fluid density of 1 g/cm\u00b3 equals how many kg/L?"}}, - {"slug": "grams-per-milliliter-to-kilograms-per-cubic-meter", "name": "Grams per milliliter to Kilograms per cubic meter \u2013 A solution at 1.2 g/mL corresponds to how many kg/m\u00b3?", "category": "length", "type": "standard", "labels": {"in1": "Grams per milliliter", "in2": "Kilograms per cubic meter \u2013 A solution at 1.2 g/mL corresponds to how many kg/m\u00b3?"}, "factor": 1000.0}, - {"slug": "grams-to-drams", "name": "Grams to Drams \u2013 A tea blend calls for 2 grams; how many drams should you measure?", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Drams \u2013 A tea blend calls for 2 grams; how many drams should you measure?"}, "factor": 0.564383}, - {"slug": "grams-to-kilograms", "name": "Grams to Kilograms \u2013 A parcel weighs 3,000 grams; how many kilograms is that weight?", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Kilograms \u2013 A parcel weighs 3,000 grams; how many kilograms is that weight?"}, "factor": 0.001}, - {"slug": "grams-to-momme", "name": "Grams to Momme \u2013 A silk roll weighs 20 grams; how many momme does that equal?", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Momme \u2013 A silk roll weighs 20 grams; how many momme does that equal?"}, "factor": 0.2666667}, - {"slug": "grams-to-pounds", "name": "Grams to Pounds \u2013 A container measures 200 grams; how many pounds does the load represent?", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Pounds \u2013 A container measures 200 grams; how many pounds does the load represent?"}, "factor": 0.00220462}, - {"slug": "grams-to-scruples", "name": "Grams to Scruples \u2013 A pharmacy formula needs 10 grams; what is that in scruples?", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Scruples \u2013 A pharmacy formula needs 10 grams; what is that in scruples?"}, "factor": 0.771605}, - {"slug": "grams-to-tolas", "name": "Grams to Tolas \u2013 A gold bar weighs 5 grams; how many tolas is that mass?", "category": "weight", "type": "standard", "labels": {"in1": "Grams", "in2": "Tolas \u2013 A gold bar weighs 5 grams; how many tolas is that mass?"}, "factor": 0.085735}, - {"slug": "gray-to-sievert", "name": "Gray to Sievert \u2013 A gamma exposure is 3 gray; how many sieverts is that for gamma/beta?", "category": "radiation", "type": "standard", "labels": {"in1": "Gray", "in2": "Sievert \u2013 A gamma exposure is 3 gray; how many sieverts is that for gamma/beta?"}}, + {"slug": "gsm-to-ounces-per-sq-yard", "name": "GSM to Ounces per sq yard", "category": "length", "type": "standard", "teaser": "Convert GSM to Ounces per sq yard instantly.", "labels": {"in1": "GSM", "in2": "Ounces per sq yard"}, "factor": 0.02952}, + {"slug": "hands-to-centimeters", "name": "Hands to Centimeters", "category": "length", "type": "standard", "teaser": "Convert Hands to Centimeters instantly.", "labels": {"in1": "Hands", "in2": "Centimeters"}, "factor": 10.16}, + {"slug": "hands-to-inches", "name": "Hands to Inches", "category": "length", "type": "standard", "teaser": "Convert Hands to Inches instantly.", "labels": {"in1": "Hands", "in2": "Inches"}, "factor": 4.0}, + {"slug": "hartree-to-electron-volts", "name": "Hartree to Electron-volts", "category": "energy", "type": "standard", "teaser": "Convert Hartree to Electron-volts instantly.", "labels": {"in1": "Hartree", "in2": "Electron-volts"}, "factor": 27.2114}, + {"slug": "hectares-to-ares", "name": "Hectares to Ares", "category": "area", "type": "standard", "teaser": "Convert Hectares to Ares instantly.", "labels": {"in1": "Hectares", "in2": "Ares"}, "factor": 100.0}, + {"slug": "hectares-to-square-feet", "name": "Hectares to Square Feet", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Feet instantly.", "labels": {"in1": "Hectares", "in2": "Square Feet"}, "factor": 107639.0}, + {"slug": "hectares-to-square-kilometers", "name": "Hectares to Square Kilometers", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Kilometers instantly.", "labels": {"in1": "Hectares", "in2": "Square Kilometers"}, "factor": 0.01}, + {"slug": "hectares-to-square-meters", "name": "Hectares to Square Meters", "category": "length", "type": "standard", "teaser": "Convert Hectares to Square Meters instantly.", "labels": {"in1": "Hectares", "in2": "Square Meters"}, "factor": 10000.0}, + {"slug": "hectopascals-to-atmosphere", "name": "Hectopascals to Atmosphere", "category": "pressure", "type": "standard", "teaser": "Convert Hectopascals to Atmosphere instantly.", "labels": {"in1": "Hectopascals", "in2": "Atmosphere"}, "factor": 0.000986923}, + {"slug": "hectopascals-to-bar", "name": "Hectopascals to Bar", "category": "pressure", "type": "standard", "teaser": "Convert Hectopascals to Bar instantly.", "labels": {"in1": "Hectopascals", "in2": "Bar"}, "factor": 0.001}, + {"slug": "hectopascals-to-psi", "name": "Hectopascals to PSI", "category": "pressure", "type": "standard", "teaser": "Convert Hectopascals to PSI instantly.", "labels": {"in1": "Hectopascals", "in2": "PSI"}, "factor": 0.0145038}, + {"slug": "henries-to-millihenries", "name": "Henries to Millihenries", "category": "other", "type": "standard", "teaser": "Convert Henries to Millihenries instantly.", "labels": {"in1": "Henries", "in2": "Millihenries"}, "factor": 1000.0}, + {"slug": "hertz-to-kilohertz", "name": "Hertz to Kilohertz", "category": "other", "type": "standard", "teaser": "Convert Hertz to Kilohertz instantly.", "labels": {"in1": "Hertz", "in2": "Kilohertz"}, "factor": 0.001}, + {"slug": "hertz-to-rpm", "name": "Hertz to RPM", "category": "speed", "type": "standard", "teaser": "Convert Hertz to RPM instantly.", "labels": {"in1": "Hertz", "in2": "RPM"}, "factor": 60.0}, + {"slug": "hex-to-octal", "name": "Hex to Octal", "category": "number-systems", "type": "base", "teaser": "Convert Hex to Octal instantly.", "labels": {"in1": "Hex", "in2": "Octal"}, "fromBase": 16, "toBase": 8}, + {"slug": "hogshead-to-liters", "name": "Hogshead to Liters", "category": "volume", "type": "standard", "teaser": "Convert Hogshead (US) to Liters instantly.", "labels": {"in1": "Hogshead", "in2": "Liters"}, "factor": 238.481}, + {"slug": "horsepower-to-btuhour", "name": "Horsepower to BTU/hour", "category": "energy", "type": "standard", "teaser": "Convert Horsepower to BTU/hour instantly.", "labels": {"in1": "Horsepower", "in2": "BTU/hour"}, "factor": 2544.43}, + {"slug": "horsepower-to-tons-of-refrigeration", "name": "Horsepower to Tons of Refrigeration", "category": "weight", "type": "standard", "teaser": "Convert Horsepower to Tons of Refrigeration instantly.", "labels": {"in1": "Horsepower", "in2": "Tons of Refrigeration"}, "factor": 0.284345}, + {"slug": "horsepower-to-watts", "name": "Horsepower to Watts", "category": "power", "type": "standard", "teaser": "Convert Horsepower to Watts instantly.", "labels": {"in1": "Horsepower", "in2": "Watts"}, "factor": 745.7}, + {"slug": "hours-to-seconds", "name": "Hours to Seconds", "category": "time", "type": "standard", "teaser": "Convert Hours to Seconds instantly.", "labels": {"in1": "Hours", "in2": "Seconds"}, "factor": 3600.0}, + {"slug": "hours-to-weeks", "name": "Hours to Weeks", "category": "time", "type": "standard", "teaser": "Convert Hours to Weeks instantly.", "labels": {"in1": "Hours", "in2": "Weeks"}, "factor": 0.00595238}, + {"slug": "hundredweight-to-kilograms", "name": "Hundredweight (cwt) to Kilograms", "category": "weight", "type": "standard", "teaser": "Convert Hundredweight (cwt) to Kilograms instantly.", "labels": {"in1": "Hundredweight (cwt)", "in2": "Kilograms"}, "factor": 45.3592}, + {"slug": "imperial-fl-oz-to-us-fl-oz", "name": "Imperial fl oz to US fl oz", "category": "other", "type": "standard", "teaser": "Convert Imperial fl oz to US fl oz instantly.", "labels": {"in1": "Imperial fl oz", "in2": "US fl oz"}, "factor": 1.20095}, + {"slug": "imperial-gallons-to-liters", "name": "Imperial gallons to Liters", "category": "volume", "type": "standard", "teaser": "Convert Imperial gallons to Liters instantly.", "labels": {"in1": "Imperial gallons", "in2": "Liters"}, "factor": 4.54609}, + {"slug": "imperial-gallons-to-us-gallons", "name": "Imperial gallons to US gallons", "category": "volume", "type": "standard", "teaser": "Convert Imperial gallons to US gallons instantly.", "labels": {"in1": "Imperial gallons", "in2": "US gallons"}, "factor": 1.20095}, + {"slug": "imperial-pints-to-us-pints", "name": "Imperial pints to US pints", "category": "volume", "type": "standard", "teaser": "Convert Imperial pints to US pints instantly.", "labels": {"in1": "Imperial pints", "in2": "US pints"}, "factor": 1.20095}, + {"slug": "inch-pounds-to-foot-pounds", "name": "Inch-Pounds to Foot-Pounds", "category": "length", "type": "standard", "teaser": "Convert Inch-Pounds to Foot-Pounds instantly.", "labels": {"in1": "Inch-Pounds", "in2": "Foot-Pounds"}, "factor": 0.0833333, "hidden": true}, + {"slug": "inch-pounds-to-newton-meters", "name": "Inch-Pounds to Newton-Meters", "category": "length", "type": "standard", "teaser": "Convert Inch-Pounds to Newton-Meters instantly.", "labels": {"in1": "Inch-Pounds", "in2": "Newton-Meters"}, "factor": 0.112985}, + {"slug": "inches-of-water-to-psi", "name": "Inches of Water to PSI", "category": "length", "type": "standard", "teaser": "Convert Inches of Water to PSI instantly.", "labels": {"in1": "Inches of Water", "in2": "PSI"}, "factor": 0.0360912}, + {"slug": "inches-per-second-to-cm-per-second", "name": "Inches per second to cm per second", "category": "length", "type": "standard", "teaser": "Convert Inches per second to Centimeters per second instantly.", "labels": {"in1": "Inches per second", "in2": "cm per second"}, "factor": 2.54}, + {"slug": "inches-to-meters", "name": "Inches to Meters", "category": "length", "type": "standard", "teaser": "Convert Inches to Meters instantly.", "labels": {"in1": "Inches", "in2": "Meters"}, "factor": 0.0254}, + {"slug": "inches-to-points", "name": "Inches to Points", "category": "length", "type": "standard", "teaser": "Convert Inches to Points instantly.", "labels": {"in1": "Inches", "in2": "Points"}, "factor": 72.0}, + {"slug": "inches-to-yards", "name": "Inches to Yards", "category": "length", "type": "standard", "teaser": "Convert Inches to Yards instantly.", "labels": {"in1": "Inches", "in2": "Yards"}, "factor": 0.0277778}, + {"slug": "jansky-to-watts-per-square-meter-per-hertz", "name": "Jansky to Watts per sq meter per Hertz", "category": "length", "type": "standard", "teaser": "Convert Jansky to Watts per square meter per Hertz instantly.", "labels": {"in1": "Jansky", "in2": "Watts per sq meter per Hertz"}, "factor": 1e-26}, + {"slug": "jiffies-to-seconds", "name": "Jiffies to Seconds", "category": "time", "type": "standard", "teaser": "Convert Jiffies to Seconds instantly.", "labels": {"in1": "Jiffies", "in2": "Seconds"}, "factor": 0.01}, + {"slug": "jiggers-to-milliliters", "name": "Jiggers to Milliliters", "category": "volume", "type": "standard", "teaser": "Convert Jiggers to Milliliters instantly.", "labels": {"in1": "Jiggers", "in2": "Milliliters"}, "factor": 44.3603}, + {"slug": "joules-to-btu", "name": "Joules to BTU", "category": "energy", "type": "standard", "teaser": "Convert Joules to BTU instantly.", "labels": {"in1": "Joules", "in2": "BTU"}, "factor": 0.000947817}, + {"slug": "joules-to-electron-volts", "name": "Joules to Electron-volts", "category": "energy", "type": "standard", "teaser": "Convert Joules to Electron-volts instantly.", "labels": {"in1": "Joules", "in2": "Electron-volts"}, "factor": 6.24151e+18}, + {"slug": "joules-to-foot-pounds", "name": "Joules to Foot-pounds", "category": "weight", "type": "standard", "teaser": "Convert Joules to Foot-pounds instantly.", "labels": {"in1": "Joules", "in2": "Foot-pounds"}, "factor": 0.737562}, + {"slug": "joules-to-kilowatt-hours", "name": "Joules to Kilowatt-hours", "category": "energy", "type": "standard", "teaser": "Convert Joules to Kilowatt-hours instantly.", "labels": {"in1": "Joules", "in2": "Kilowatt-hours"}, "factor": 2.77778e-07}, + {"slug": "cubic-feet-to-gallons", "name": "Cubic Feet to Gallons", "category": "length", "type": "standard", "teaser": "If a cistern volume reads three cubic feet, how many US gallons does that store?", "labels": {"in1": "Cubic Feet", "in2": "Gallons"}, "factor": 7.48052}, + {"slug": "cubic-meters-to-cubic-feet", "name": "Cubic Meters to Cubic Feet", "category": "length", "type": "standard", "teaser": "A freight crate is two cubic meters; how many cubic feet of cargo space is that?", "labels": {"in1": "Cubic Meters", "in2": "Cubic Feet"}, "factor": 35.3147}, + {"slug": "foot-candles-to-lux", "name": "Foot-candles to Lux", "category": "light", "type": "standard", "teaser": "Gallery staff want to match 150 foot-candles; what does that translate to in lux?", "labels": {"in1": "Foot-candles", "in2": "Lux"}, "factor": 10.7639}, + {"slug": "foot-pounds-energy-to-joules", "name": "Foot-pounds (energy) to Joules", "category": "weight", "type": "standard", "teaser": "The engine produces five foot-pounds of work; how many joules is that?", "labels": {"in1": "Foot-pounds (energy)", "in2": "Joules"}, "factor": 1.35581795}, + {"slug": "foot-pounds-to-inch-pounds", "name": "Foot-Pounds to Inch-Pounds", "category": "length", "type": "standard", "teaser": "A torque spec calls for two foot-pounds; how many inch-pounds is that?", "labels": {"in1": "Foot-Pounds", "in2": "Inch-Pounds"}, "factor": 12.0}, + {"slug": "fortnights-to-days", "name": "Fortnights to Days", "category": "time", "type": "standard", "teaser": "The rental period lasts three fortnights; how many days will be billed?", "labels": {"in1": "Fortnights", "in2": "Days"}, "factor": 14.0}, + {"slug": "furlongs-per-fortnight-to-meters-per-second", "name": "Furlongs per fortnight to m/s", "category": "speed", "type": "standard", "teaser": "Traveling at one furlong per fortnight, what speed in meters per second is that?", "labels": {"in1": "Furlongs per fortnight", "in2": "m/s"}, "factor": 1.336e-05}, + {"slug": "furlongs-to-meters", "name": "Furlongs to Meters", "category": "length", "type": "standard", "teaser": "A race distance of two furlongs equals how many meters?", "labels": {"in1": "Furlongs", "in2": "Meters"}, "factor": 201.168}, + {"slug": "furlongs-to-miles", "name": "Furlongs to Miles", "category": "length", "type": "standard", "teaser": "A course covers eight furlongs; how far is that in miles?", "labels": {"in1": "Furlongs", "in2": "Miles"}, "factor": 0.125}, + {"slug": "gallons-per-minute-to-cubic-feet-per-second", "name": "Gallons per minute to CFS", "category": "volume", "type": "standard", "teaser": "A pump pushes 200 gpm; what is that flow rate in cubic feet per second?", "labels": {"in1": "Gallons per minute", "in2": "CFS"}, "factor": 0.00222801}, + {"slug": "gallons-per-minute-to-liters-per-minute", "name": "Gallons per minute to Liters per minute", "category": "volume", "type": "standard", "teaser": "A faucet flows at three gpm; what is that in liters per minute?", "labels": {"in1": "Gallons per minute", "in2": "Liters per minute"}, "factor": 3.78541}, + {"slug": "gallons-to-barrel-us-oil", "name": "Gallons to Barrel (US oil)", "category": "volume", "type": "standard", "teaser": "A tanker carries 840 gallons; how many US oil barrels is that?", "labels": {"in1": "Gallons", "in2": "Barrel (US oil)"}, "factor": 0.0238095238}, + {"slug": "gallons-to-cubic-feet", "name": "Gallons to Cubic Feet", "category": "length", "type": "standard", "teaser": "A tank holds fifty gallons; how many cubic feet does that represent?", "labels": {"in1": "Gallons", "in2": "Cubic Feet"}, "factor": 0.133681, "hidden": true}, + {"slug": "gallons-to-cubic-meters", "name": "Gallons to Cubic Meters", "category": "length", "type": "standard", "teaser": "A reservoir stores 1,200 gallons; what is the cubic meter value?", "labels": {"in1": "Gallons", "in2": "Cubic Meters"}, "factor": 0.00378541}, + {"slug": "gallons-to-cups", "name": "Gallons to Cups", "category": "volume", "type": "standard", "teaser": "A recipe needs two gallons; how many cups should you measure?", "labels": {"in1": "Gallons", "in2": "Cups"}, "factor": 16.0}, + {"slug": "gallons-to-fluid-ounces", "name": "Gallons to Fluid Ounces", "category": "weight", "type": "standard", "teaser": "A pitcher pours three gallons; how many fluid ounces is that?", "labels": {"in1": "Gallons", "in2": "Fluid Ounces"}, "factor": 128.0}, + {"slug": "gallons-to-pints", "name": "Gallons to Pints", "category": "volume", "type": "standard", "teaser": "Pouring one gallon equals how many pints for serving?", "labels": {"in1": "Gallons", "in2": "Pints"}, "factor": 8.0}, + {"slug": "gallons-to-quarts", "name": "Gallons to Quarts", "category": "volume", "type": "standard", "teaser": "Four gallons convert to how many quarts for canning?", "labels": {"in1": "Gallons", "in2": "Quarts"}, "factor": 4.0}, + {"slug": "gamma-mass-to-micrograms", "name": "Gamma (mass) to Micrograms", "category": "weight", "type": "standard", "teaser": "A lab note shows gamma units; what is that in micrograms?", "labels": {"in1": "Gamma (mass)", "in2": "Micrograms"}}, + {"slug": "gauss-to-tesla", "name": "Gauss to Tesla", "category": "other", "type": "standard", "teaser": "A field reads five thousand gauss; what is that in tesla?", "labels": {"in1": "Gauss", "in2": "Tesla"}, "factor": 0.0001}, + {"slug": "gbps-to-mbps", "name": "Gbps to Mbps", "category": "other", "type": "standard", "teaser": "A fiber uplink reports 10 Gbps; how many megabits per second of capacity is that?", "labels": {"in1": "Gbps", "in2": "Mbps"}, "factor": 1000.0}, + {"slug": "gibibytes-to-gigabytes", "name": "Gibibytes to Gigabytes", "category": "data", "type": "standard", "teaser": "A backup file is 2 GiB; how many gigabytes will the storage quota show?", "labels": {"in1": "Gibibytes", "in2": "Gigabytes"}, "factor": 1.073741824}, + {"slug": "gigabits-to-megabits", "name": "Gigabits to Megabits", "category": "data", "type": "standard", "teaser": "A carrier promises 3 gigabits per second; how many megabits is the link rated for?", "labels": {"in1": "Gigabits", "in2": "Megabits"}, "factor": 1000.0}, + {"slug": "gigabytes-to-bytes", "name": "Gigabytes to Bytes", "category": "data", "type": "standard", "teaser": "A download weighs 5 gigabytes; how many bytes does that represent?", "labels": {"in1": "Gigabytes", "in2": "Bytes"}, "factor": 1000000000.0}, + {"slug": "gigabytes-to-gibibytes", "name": "Gigabytes to Gibibytes", "category": "data", "type": "standard", "teaser": "A storage plan advertises 1,000 GB; how many gibibytes is that?", "labels": {"in1": "Gigabytes", "in2": "Gibibytes"}, "factor": 0.9313225746154785, "hidden": true}, + {"slug": "gigabytes-to-petabytes", "name": "Gigabytes to Petabytes", "category": "data", "type": "standard", "teaser": "A data warehouse holds 400,000 gigabytes; how many petabytes is that?", "labels": {"in1": "Gigabytes", "in2": "Petabytes"}, "factor": 1e-06}, + {"slug": "gigahertz-to-megahertz", "name": "Gigahertz to Megahertz", "category": "other", "type": "standard", "teaser": "A processor is rated at 3 GHz; how many megahertz is that clock speed?", "labels": {"in1": "Gigahertz", "in2": "Megahertz"}, "factor": 1000.0}, + {"slug": "gill-to-milliliters", "name": "Gill to Milliliters", "category": "volume", "type": "standard", "teaser": "A bartender pours two US gills; how many milliliters should the glass hold?", "labels": {"in1": "Gill", "in2": "Milliliters"}, "factor": 118.294}, + {"slug": "gradians-to-degrees", "name": "Gradians to Degrees", "category": "angle", "type": "standard", "teaser": "A surveyor logs 100 gradians; what is that angle in degrees?", "labels": {"in1": "Gradians", "in2": "Degrees"}, "factor": 0.9}, + {"slug": "gradians-to-radians", "name": "Gradians to Radians", "category": "angle", "type": "standard", "teaser": "A control dial sweeps 200 gradians; what is that rotation in radians?", "labels": {"in1": "Gradians", "in2": "Radians"}, "factor": 0.01570796}, + {"slug": "grains-to-ounces", "name": "Grains to Ounces", "category": "weight", "type": "standard", "teaser": "A jewelry batch weighs 100 grains; how many ounces is that?", "labels": {"in1": "Grains", "in2": "Ounces"}, "factor": 0.002285714}, + {"slug": "grams-per-cubic-centimeter-to-kilograms-per-liter", "name": "Grams per cubic centimeter to Kilograms per liter", "category": "length", "type": "standard", "teaser": "A fluid density of 1 g/cm\u00b3 equals how many kg/L?", "labels": {"in1": "Grams per cubic centimeter", "in2": "Kilograms per liter"}}, + {"slug": "grams-per-milliliter-to-kilograms-per-cubic-meter", "name": "Grams per milliliter to Kilograms per cubic meter", "category": "length", "type": "standard", "teaser": "A solution at 1.2 g/mL corresponds to how many kg/m\u00b3?", "labels": {"in1": "Grams per milliliter", "in2": "Kilograms per cubic meter"}, "factor": 1000.0}, + {"slug": "grams-to-drams", "name": "Grams to Drams", "category": "weight", "type": "standard", "teaser": "A tea blend calls for 2 grams; how many drams should you measure?", "labels": {"in1": "Grams", "in2": "Drams"}, "factor": 0.564383}, + {"slug": "grams-to-kilograms", "name": "Grams to Kilograms", "category": "weight", "type": "standard", "teaser": "A parcel weighs 3,000 grams; how many kilograms is that weight?", "labels": {"in1": "Grams", "in2": "Kilograms"}, "factor": 0.001}, + {"slug": "grams-to-momme", "name": "Grams to Momme", "category": "weight", "type": "standard", "teaser": "A silk roll weighs 20 grams; how many momme does that equal?", "labels": {"in1": "Grams", "in2": "Momme"}, "factor": 0.2666667}, + {"slug": "grams-to-pounds", "name": "Grams to Pounds", "category": "weight", "type": "standard", "teaser": "A container measures 200 grams; how many pounds does the load represent?", "labels": {"in1": "Grams", "in2": "Pounds"}, "factor": 0.00220462}, + {"slug": "grams-to-scruples", "name": "Grams to Scruples", "category": "weight", "type": "standard", "teaser": "A pharmacy formula needs 10 grams; what is that in scruples?", "labels": {"in1": "Grams", "in2": "Scruples"}, "factor": 0.771605}, + {"slug": "grams-to-tolas", "name": "Grams to Tolas", "category": "weight", "type": "standard", "teaser": "A gold bar weighs 5 grams; how many tolas is that mass?", "labels": {"in1": "Grams", "in2": "Tolas"}, "factor": 0.085735}, + {"slug": "gray-to-sievert", "name": "Gray to Sievert", "category": "radiation", "type": "standard", "teaser": "A gamma exposure is 3 gray; how many sieverts is that for gamma/beta?", "labels": {"in1": "Gray", "in2": "Sievert"}}, ]; diff --git a/migrate.py b/migrate.py index 8379a5a..35c09ab 100644 --- a/migrate.py +++ b/migrate.py @@ -16,24 +16,37 @@ def parse_calculators_list(): lines = f.readlines() in_table = False + header_map = {} for line in lines: - if line.startswith('## Backlog'): + if in_table and line.startswith('## '): break if '| Calculator Name' in line: in_table = True + headers = [p.strip() for p in line.strip().strip('|').split('|')] + header_map = {header: idx for idx, header in enumerate(headers)} continue if in_table and line.startswith('| :---'): continue if in_table and line.startswith('|'): - parts = [p.strip() for p in line.split('|')] - if len(parts) >= 6: - name = parts[1] - slug = parts[4] - factor_raw = parts[5] + parts = [p.strip() for p in line.strip().strip('|').split('|')] + name_idx = header_map.get('Calculator Name') + slug_idx = header_map.get('Slug') + factor_idx = header_map.get('Conversion Factor') + if None not in (name_idx, slug_idx, factor_idx) and len(parts) > max(name_idx, slug_idx, factor_idx): + name = parts[name_idx] + slug = parts[slug_idx] + factor_raw = parts[factor_idx] active_calcs.append((name, slug, factor_raw)) return active_calcs +def split_name_and_teaser(name): + parts = re.split(r'\s[–—-]\s', name, maxsplit=1) + if len(parts) == 2: + return parts[0].strip(), parts[1].strip() + return name.strip(), '' + + def split_conversion_name(name): parts = re.split(r'\s+to\s+', name, maxsplit=1, flags=re.IGNORECASE) if len(parts) == 2: @@ -67,17 +80,20 @@ def process(): calculators_ts_entries = [] - for name, slug, factor_raw in active_rows: - if name == 'Calculator Name' or not slug: continue - + for raw_name, slug, factor_raw in active_rows: + if raw_name == 'Calculator Name' or not slug: + continue + + display_name, teaser = split_name_and_teaser(raw_name) + # Name splitting - parsed = split_conversion_name(name) + parsed = split_conversion_name(display_name) if parsed: in1, in2 = parsed else: in1, in2 = "From", "To" - category = guess_category(name) + category = guess_category(display_name) desc_html = external_descriptions.get(slug, "") c_type = 'standard' @@ -135,10 +151,12 @@ def process(): # Avoid escaping single quotes by using JSON or dict entry = { 'slug': slug, - 'name': name, + 'name': display_name, 'category': category, 'type': c_type } + if teaser: + entry['teaser'] = teaser # Determine labels labels = {'in1': in1, 'in2': in2} @@ -258,6 +276,7 @@ export interface CalculatorDef { toBase?: number; labels: { in1: string; in2: string; in3?: string }; descriptionHTML?: string; + teaser?: string; } export const categories: Record = {