Compare commits

..

2 Commits

Author SHA1 Message Date
Codex
0586b35fe7 Add power conversion entries and responsive nav tweaks 2026-03-07 20:33:28 +00:00
Codex
dc6bedfc47 Add angle conversion batch 2026-03-07 20:19:42 +00:00
6 changed files with 400 additions and 143 deletions

View File

@@ -146,6 +146,46 @@ The registry currently contains 416 unique calculator slugs.
| Arcminutes to Arcseconds Expand each arcminute into 60 arcseconds for high-precision angles. | arcminutes-to-arcseconds | 60.0 | | Arcminutes to Arcseconds Expand each arcminute into 60 arcseconds for high-precision angles. | arcminutes-to-arcseconds | 60.0 |
| Arcminutes to Degrees Convert minutes of arc into degrees. | arcminutes-to-degrees | 0.0166666667 | | Arcminutes to Degrees Convert minutes of arc into degrees. | arcminutes-to-degrees | 0.0166666667 |
| Arcseconds to Arcminutes Turn arcseconds back into minutes for fine-grained angles. | arcseconds-to-arcminutes | 0.0166666667 | | Arcseconds to Arcminutes Turn arcseconds back into minutes for fine-grained angles. | arcseconds-to-arcminutes | 0.0166666667 |
| Arcminutes to Gradians | arcminutes-to-gradians | 0.0185185185185 |
| Arcminutes to Mils | arcminutes-to-mils | 0.296296296296 |
| Arcminutes to Points (compass) | arcminutes-to-points-compass | 0.00148148148148 |
| Arcminutes to Quadrants | arcminutes-to-quadrants | 0.000185185185185 |
| Arcminutes to Radians | arcminutes-to-radians | 0.000290888208666 |
| Arcminutes to Sextants | arcminutes-to-sextants | 0.000277777777778 |
| Arcminutes to Turns | arcminutes-to-turns | 4.62962962963e-05 |
| Arcseconds to Gradians | arcseconds-to-gradians | 0.000308641975309 |
| Arcseconds to Mils | arcseconds-to-mils | 0.00493827160494 |
| Arcseconds to Points (compass) | arcseconds-to-points-compass | 2.46913580247e-05 |
| Arcseconds to Quadrants | arcseconds-to-quadrants | 3.08641975309e-06 |
| Arcseconds to Radians | arcseconds-to-radians | 4.8481368111e-06 |
| Arcseconds to Sextants | arcseconds-to-sextants | 4.62962962963e-06 |
| Arcseconds to Turns | arcseconds-to-turns | 7.71604938272e-07 |
| Degrees to Quadrants | degrees-to-quadrants | 0.0111111111111 |
| Degrees to Sextants | degrees-to-sextants | 0.0166666666667 |
| Gradians to Arcminutes | gradians-to-arcminutes | 54 |
| Gradians to Arcseconds | gradians-to-arcseconds | 3240 |
| Gradians to Mils | gradians-to-mils | 16 |
| Gradians to Points (compass) | gradians-to-points-compass | 0.08 |
| Gradians to Quadrants | gradians-to-quadrants | 0.01 |
| Gradians to Sextants | gradians-to-sextants | 0.015 |
| Gradians to Turns | gradians-to-turns | 0.0025 |
| Mils to Arcminutes | mils-to-arcminutes | 3.375 |
| Mils to Arcseconds | mils-to-arcseconds | 202.5 |
| Mils to Gradians | mils-to-gradians | 0.0625 |
| Mils to Points (compass) | mils-to-points-compass | 0.005 |
| Mils to Quadrants | mils-to-quadrants | 0.000625 |
| Mils to Sextants | mils-to-sextants | 0.0009375 |
| Mils to Turns | mils-to-turns | 0.00015625 |
| Points (compass) to Arcminutes | points-compass-to-arcminutes | 675 |
| Points (compass) to Arcseconds | points-compass-to-arcseconds | 40500 |
| Points (compass) to Gradians | points-compass-to-gradians | 12.5 |
| Points (compass) to Mils | points-compass-to-mils | 200 |
| Points (compass) to Quadrants | points-compass-to-quadrants | 0.125 |
| Points (compass) to Radians | points-compass-to-radians | 0.196349540849 |
| Points (compass) to Sextants | points-compass-to-sextants | 0.1875 |
| Points (compass) to Turns | points-compass-to-turns | 0.03125 |
| Quadrants to Arcminutes | quadrants-to-arcminutes | 5400 |
| Quadrants to Arcseconds | quadrants-to-arcseconds | 324000 |
| Arcseconds to Degrees Express tiny angle pieces as degrees. | arcseconds-to-degrees | 0.00027777778 | | Arcseconds to Degrees Express tiny angle pieces as degrees. | arcseconds-to-degrees | 0.00027777778 |
| Dynes to Newtons | dynes-to-newtons | 1e-05 | | Dynes to Newtons | dynes-to-newtons | 1e-05 |
| Ergs to Joules | ergs-to-joules | 1e-07 | | Ergs to Joules | ergs-to-joules | 1e-07 |
@@ -211,6 +251,44 @@ The registry currently contains 416 unique calculator slugs.
| Horsepower to BTU/min Get BTUs per minute from mechanical horsepower. | horsepower-to-btumin | 42.4072263427 | | Horsepower to BTU/min Get BTUs per minute from mechanical horsepower. | horsepower-to-btumin | 42.4072263427 |
| Horsepower to Calories Per Second Translate mechanical horsepower into calories per second. | horsepower-to-calories-per-second | 178.226546845 | | Horsepower to Calories Per Second Translate mechanical horsepower into calories per second. | horsepower-to-calories-per-second | 178.226546845 |
| Horsepower to Electrical Horsepower Convert mechanical horsepower into electrical horsepower. | horsepower-to-electrical-horsepower | 0.999597683646 | | Horsepower to Electrical Horsepower Convert mechanical horsepower into electrical horsepower. | horsepower-to-electrical-horsepower | 0.999597683646 |
| Kilowatts to kVA | kilowatts-to-kva | 1 |
| Lusec to Watts | lusec-to-watts | 0.000133322 |
| Watts to BTU/min | watts-to-btumin | 0.0568690272522 |
| Calories Per Second to Metric Horsepower (ps) | calories-per-second-to-metric-horsepower-ps | 0.0056886568468 |
| Horsepower to Lusec | horsepower-to-lusec | 5593224.46408 |
| Horsepower to Mechanical Hp | horsepower-to-mechanical-hp | 1 |
| Horsepower to Megawatts | horsepower-to-megawatts | 0.000745699872 |
| Horsepower to Metric Horsepower (ps) | horsepower-to-metric-horsepower-ps | 1.01386966599 |
| Kilowatts to Boiler Horsepower | kilowatts-to-boiler-horsepower | 0.101941995005 |
| Kilowatts to Electrical Horsepower | kilowatts-to-electrical-horsepower | 1.34048257373 |
| Kilowatts to Metric Horsepower (ps) | kilowatts-to-metric-horsepower-ps | 1.3596216173 |
| Lusec to Boiler Horsepower | lusec-to-boiler-horsepower | 1.3591110658e-08 |
| Lusec to Electrical Horsepower | lusec-to-electrical-horsepower | 1.78715817694e-07 |
| Lusec to Horsepower | lusec-to-horsepower | 1.78787746929e-07 |
| Lusec to Metric Horsepower (ps) | lusec-to-metric-horsepower-ps | 1.81267473262e-07 |
| Mechanical Hp to Boiler Horsepower | mechanical-hp-to-boiler-horsepower | 0.0760181326265 |
| Mechanical Hp to Electrical Horsepower | mechanical-hp-to-electrical-horsepower | 0.999597683646 |
| Mechanical Hp to Horsepower | mechanical-hp-to-horsepower | 1 |
| Mechanical Hp to Metric Horsepower (ps) | mechanical-hp-to-metric-horsepower-ps | 1.01386966599 |
| Megawatts to Boiler Horsepower | megawatts-to-boiler-horsepower | 101.941995005 |
| Megawatts to Electrical Horsepower | megawatts-to-electrical-horsepower | 1340.48257373 |
| Megawatts to Horsepower | megawatts-to-horsepower | 1341.02208884 |
| Megawatts to Metric Horsepower (ps) | megawatts-to-metric-horsepower-ps | 1359.6216173 |
| Metric Horsepower (ps) to Boiler Horsepower | metric-horsepower-ps-to-boiler-horsepower | 0.0749782098986 |
| Metric Horsepower (ps) to BTU/hour | metric-horsepower-ps-to-btuhour | 2509.62590746 |
| Metric Horsepower (ps) to BTU/min | metric-horsepower-ps-to-btumin | 41.8270984577 |
| Metric Horsepower (ps) to Calories Per Second | metric-horsepower-ps-to-calories-per-second | 175.788420172 |
| Metric Horsepower (ps) to Electrical Horsepower | metric-horsepower-ps-to-electrical-horsepower | 0.985923257373 |
| Metric Horsepower (ps) to Horsepower | metric-horsepower-ps-to-horsepower | 0.986320070067 |
| Metric Horsepower (ps) to Kilowatts | metric-horsepower-ps-to-kilowatts | 0.73549875 |
| Metric Horsepower (ps) to Lusec | metric-horsepower-ps-to-lusec | 5516709.54531 |
| Metric Horsepower (ps) to Mechanical Hp | metric-horsepower-ps-to-mechanical-hp | 0.986320070067 |
| Metric Horsepower (ps) to Megawatts | metric-horsepower-ps-to-megawatts | 0.00073549875 |
| Metric Horsepower (ps) to Tons Of Refrigeration | metric-horsepower-ps-to-tons-of-refrigeration | 0.209135492289 |
| Tons Of Refrigeration to Boiler Horsepower | tons-of-refrigeration-to-boiler-horsepower | 0.358514994648 |
| Tons Of Refrigeration to Electrical Horsepower | tons-of-refrigeration-to-electrical-horsepower | 4.71427994638 |
| Tons Of Refrigeration to Metric Horsepower (ps) | tons-of-refrigeration-to-metric-horsepower-ps | 4.78158914614 |
| Watts to Electrical Horsepower | watts-to-electrical-horsepower | 0.00134048257373 |
| Hours to Days | hours-to-days | 0.0416666667 | | Hours to Days | hours-to-days | 0.0416666667 |
| Hours to Minutes | hours-to-minutes | 60.0 | | Hours to Minutes | hours-to-minutes | 60.0 |
| Inches of Mercury to Pascals | inches-of-mercury-to-pascals | 3386.389 | | Inches of Mercury to Pascals | inches-of-mercury-to-pascals | 3386.389 |
@@ -772,6 +850,22 @@ The registry currently contains 416 unique calculator slugs.
| Kilowatts to BTU/hour Convert kilowatts to BTU per hour. | kilowatts-to-btuhour | 3412.142 | | Kilowatts to BTU/hour Convert kilowatts to BTU per hour. | kilowatts-to-btuhour | 3412.142 |
| Kilowatts to Megawatts Convert power from kilowatts to megawatts. | kilowatts-to-megawatts | 0.001 | | Kilowatts to Megawatts Convert power from kilowatts to megawatts. | kilowatts-to-megawatts | 0.001 |
| Kilowatts to Watts Convert kilowatts to watts. | kilowatts-to-watts | 1000 | | Kilowatts to Watts Convert kilowatts to watts. | kilowatts-to-watts | 1000 |
| Kilowatts to Amps Relate kilowatts to amperage when the voltage is known. | kilowatts-to-amps | Multi-Variable |
| Kilowatts to Abamperes Convert kilowatts into CGS abamperes using abvolts or current. | kilowatts-to-abamperes | Multi-Variable |
| Kilowatts to Abvolts Convert kilowatts into abvolts given CGS abamperes. | kilowatts-to-abvolts | Multi-Variable |
| Kilowatts to Ampere-hours Turn kilowatt draws into ampere-hours when you know the duration. | kilowatts-to-ampere-hours | Multi-Variable |
| Kilowatts to BTU/min Convert kilowatts into BTUs per minute for heat rate comparisons. | kilowatts-to-btumin | 56.8690272522 |
| Kilowatts to Calories Per Second Translate kilowatts into calories per second for nutrition math. | kilowatts-to-calories-per-second | 238.8458966 |
| Kilowatts to Coulombs Convert kilowatts into coulombs when the time or voltage is given. | kilowatts-to-coulombs | Multi-Variable |
| Kilowatts to Farads Estimate the capacitance in farads from kilowatt loads. | kilowatts-to-farads | Multi-Variable |
| Kilowatts to Henries Estimate inductance in henries using kilowatt load and frequency. | kilowatts-to-henries | Multi-Variable |
| Kilowatts to Lusec Translate kilowatts into lusecs for legacy power ratings. | kilowatts-to-lusec | 7500637.554192106 |
| Kilowatts to Mechanical Hp Convert kilowatts into mechanical horsepower. | kilowatts-to-mechanical-hp | 1.341021858656296 |
| Kilowatts to Microfarads Convert kilowatt loads into capacitance using voltage. | kilowatts-to-microfarads | Multi-Variable |
| Kilowatts to Microhenries Estimate inductance in microhenries for a kilowatt-level circuit. | kilowatts-to-microhenries | Multi-Variable |
| Kilowatts to Milliampere-hours Turn kilowatt-hours into milliampere-hours given voltage. | kilowatts-to-milliampere-hours | Multi-Variable |
| Kilowatts to Milliamps Convert kilowatts into milliamps when you know the voltage. | kilowatts-to-milliamps | Multi-Variable |
| Kilowatts to Millihenries Estimate inductance in millihenries from a kilowatt load. | kilowatts-to-millihenries | Multi-Variable |
| Kilometers per kWh to Miles per kWh Convert energy efficiency from km/kWh to mi/kWh. | km-per-kwh-to-miles-per-kwh | 0.621371 | | Kilometers per kWh to Miles per kWh Convert energy efficiency from km/kWh to mi/kWh. | km-per-kwh-to-miles-per-kwh | 0.621371 |
| Kilometers per Second to Speed of Light Express a speed in kilometers per second as a fraction of c (299,792.458 km/s). | kilometers-per-second-to-speed-of-light | 3.33564095198152e-6 | | Kilometers per Second to Speed of Light Express a speed in kilometers per second as a fraction of c (299,792.458 km/s). | kilometers-per-second-to-speed-of-light | 3.33564095198152e-6 |
| Knots to Feet per Second Convert a nautical mile per hour into feet per second. | knots-to-feet-per-second | 1.6878098376 | | Knots to Feet per Second Convert a nautical mile per hour into feet per second. | knots-to-feet-per-second | 1.6878098376 |
@@ -1132,6 +1226,30 @@ The registry currently contains 416 unique calculator slugs.
| Watts to Calories per Second Translate watts into calories per second for nutrition math. | watts-to-calories-per-second | 0.2388458966 | | Watts to Calories per Second Translate watts into calories per second for nutrition math. | watts-to-calories-per-second | 0.2388458966 |
| Watts to Kilowatts Express watts as kilowatts for appliance specs. | watts-to-kilowatts | 0.001 | | Watts to Kilowatts Express watts as kilowatts for appliance specs. | watts-to-kilowatts | 0.001 |
| Watts to Metric Horsepower Convert watts into metric horsepower (PS) for vehicle specs. | watts-to-metric-horsepower | 0.00135962162 | | Watts to Metric Horsepower Convert watts into metric horsepower (PS) for vehicle specs. | watts-to-metric-horsepower | 0.00135962162 |
| Watts to Volts Determine the voltage when you know the power and current. | watts-to-volts | Multi-Variable |
| Watts to Abamperes Convert watts into CGS abamperes when you have voltage in abvolts. | watts-to-abamperes | Multi-Variable |
| Watts to Abvolts Convert watts into CGS abvolts using abamperes. | watts-to-abvolts | Multi-Variable |
| Watts to Ampere-hours Turn a watt draw into ampere-hours when you know the duration or voltage. | watts-to-ampere-hours | Multi-Variable |
| Watts to Coulombs Translate watts into coulombs when voltage or time is provided. | watts-to-coulombs | Multi-Variable |
| Watts to Farads Estimate capacitance required for a given wattage and voltage. | watts-to-farads | Multi-Variable |
| Watts to Henries Estimate inductance from a wattage and frequency scenario. | watts-to-henries | Multi-Variable |
| Watts to kVA Convert watts into kilovolt-amperes assuming unity power factor. | watts-to-kva | 0.001 |
| Watts to Lusec Translate watts into lusecs for vintage motor specs. | watts-to-lusec | 7500.637554192106 |
| Watts to Mechanical Hp Translate watts into mechanical horsepower. | watts-to-mechanical-hp | 0.001341021858656296 |
| Watts to Megawatts Scale watts down to megawatts. | watts-to-megawatts | 0.000001 |
| Watts to Microfarads Convert wattage into capacitance when voltage is known. | watts-to-microfarads | Multi-Variable |
| Watts to Microhenries Convert wattage into inductance using frequency or current. | watts-to-microhenries | Multi-Variable |
| Watts to Milliampere-hours Convert power into milliampere-hours over time with voltage input. | watts-to-milliampere-hours | Multi-Variable |
| Watts to Milliamps Convert wattage into milliamps given voltage. | watts-to-milliamps | Multi-Variable |
| Watts to Millihenries Estimate inductance in millihenries for a given power level. | watts-to-millihenries | Multi-Variable |
| Watts to Millivolts Scale watts into millivolts with current data. | watts-to-millivolts | Multi-Variable |
| Watts to Ohms Derive resistance when you know wattage and current. | watts-to-ohms | Multi-Variable |
| Watts to Picofarads Estimate capacitance in picofarads when voltage and frequency are known. | watts-to-picofarads | Multi-Variable |
| Watts to Siemens Convert wattage into siemens (conductance) when voltage or current is provided. | watts-to-siemens | Multi-Variable |
| Watts to Statamperes Translate watts into statamperes within the CGS electromagnetic system. | watts-to-statamperes | Multi-Variable |
| Watts to Statvolts Translate watts into statvolts when working with CGS fields. | watts-to-statvolts | Multi-Variable |
| Watts to Tons Of Refrigeration Translate continuous power into refrigeration tons. | watts-to-tons-of-refrigeration | 0.000284345 |
| Watts to Watt-hours Convert instantaneous power into energy by supplying a time interval. | watts-to-watt-hours | Multi-Variable |
| Watts to Milliwatts Scale watts down to milliwatts. | watts-to-milliwatts | 1000 | | Watts to Milliwatts Scale watts down to milliwatts. | watts-to-milliwatts | 1000 |
| Weber to Maxwell Express webers as maxwells for magnetic flux reports. | weber-to-maxwell | 100000000 | | Weber to Maxwell Express webers as maxwells for magnetic flux reports. | weber-to-maxwell | 100000000 |
| Wh per km to Wh per mile Convert EV efficiency from km to mile units. | wh-per-km-to-wh-per-mile | 1.609344 | | Wh per km to Wh per mile Convert EV efficiency from km to mile units. | wh-per-km-to-wh-per-mile | 1.609344 |
@@ -2262,9 +2380,9 @@ The registry currently contains 416 unique calculator slugs.
- [x] Kilowatt-hours to Joules - [x] Kilowatt-hours to Joules
- [x] Kilowatt-hours to Kilocalories - [x] Kilowatt-hours to Kilocalories
- [x] Kilowatt-hours to Therms - [x] Kilowatt-hours to Therms
- [ ] Kilowatts to Amps - [x] Kilowatts to Amps
- [x] Kilowatts to BTU/hour - [x] Kilowatts to BTU/hour
- [ ] Kilowatts to kVA - [x] Kilowatts to kVA
- [x] Kilowatts to Megawatts - [x] Kilowatts to Megawatts
- [x] Kilowatts to Watts - [x] Kilowatts to Watts
- [x] km per kWh to Miles per kWh - [x] km per kWh to Miles per kWh
@@ -2299,7 +2417,7 @@ The registry currently contains 416 unique calculator slugs.
- [x] Long Tons to Kilograms - [x] Long Tons to Kilograms
- [x] Long Tons to Pounds - [x] Long Tons to Pounds
- [x] Long Tons to Short Tons - [x] Long Tons to Short Tons
- [ ] Lusec to Watts - [x] Lusec to Watts
- [ ] Lux to EV - [ ] Lux to EV
- [x] Lux to Foot-candles - [x] Lux to Foot-candles
- [x] Mach to Feet per second - [x] Mach to Feet per second
@@ -2530,8 +2648,8 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Tesla to Milligauss - [ ] Tesla to Milligauss
- [ ] Tesla to Millitesla - [ ] Tesla to Millitesla
- [ ] Tex to Denier - [ ] Tex to Denier
- [ ] Therms to BTU - [x] Therms to BTU
- [ ] Therms to Kilowatt-hours - [x] Therms to Kilowatt-hours
- [x] Thou (mil) to Millimeters - [x] Thou (mil) to Millimeters
- [x] Thou to Inches - [x] Thou to Inches
- [x] Tolas to Grams - [x] Tolas to Grams
@@ -2558,12 +2676,12 @@ The registry currently contains 416 unique calculator slugs.
- [x] Watt-hours to Calories - [x] Watt-hours to Calories
- [ ] Watt-hours to Joules - [ ] Watt-hours to Joules
- [x] Watts to Boiler Horsepower - [x] Watts to Boiler Horsepower
- [ ] Watts to BTU/min - [x] Watts to BTU/min
- [x] Watts to Calories per second - [x] Watts to Calories per second
- [x] Watts to Kilowatts - [x] Watts to Kilowatts
- [x] Watts to Metric Horsepower (PS) - [x] Watts to Metric Horsepower (PS)
- [x] Watts to Milliwatts - [x] Watts to Milliwatts
- [ ] Watts to Volts - [x] Watts to Volts
- [x] Weber to Maxwell - [x] Weber to Maxwell
- [x] Weeks to Days - [x] Weeks to Days
- [x] Weeks to Hours - [x] Weeks to Hours
@@ -2811,20 +2929,20 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Apothecary Ounces to Troy Ounces - [ ] Apothecary Ounces to Troy Ounces
- [ ] Apothecary Ounces to Yoctograms - [ ] Apothecary Ounces to Yoctograms
- [ ] Apothecary Ounces to Zeptograms - [ ] Apothecary Ounces to Zeptograms
- [ ] Arcminutes to Gradians - [x] Arcminutes to Gradians
- [ ] Arcminutes to Mils - [x] Arcminutes to Mils
- [ ] Arcminutes to Points (compass) - [x] Arcminutes to Points (compass)
- [ ] Arcminutes to Quadrants - [x] Arcminutes to Quadrants
- [ ] Arcminutes to Radians - [x] Arcminutes to Radians
- [ ] Arcminutes to Sextants - [x] Arcminutes to Sextants
- [ ] Arcminutes to Turns - [x] Arcminutes to Turns
- [ ] Arcseconds to Gradians - [x] Arcseconds to Gradians
- [ ] Arcseconds to Mils - [x] Arcseconds to Mils
- [ ] Arcseconds to Points (compass) - [x] Arcseconds to Points (compass)
- [ ] Arcseconds to Quadrants - [x] Arcseconds to Quadrants
- [ ] Arcseconds to Radians - [x] Arcseconds to Radians
- [ ] Arcseconds to Sextants - [x] Arcseconds to Sextants
- [ ] Arcseconds to Turns - [x] Arcseconds to Turns
- [ ] Ares to Acres - [ ] Ares to Acres
- [ ] Ares to Barns - [ ] Ares to Barns
- [ ] Ares to Circular Mils - [ ] Ares to Circular Mils
@@ -3207,7 +3325,8 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Calories Per Second to Lusec - [ ] Calories Per Second to Lusec
- [ ] Calories Per Second to Mechanical Hp - [ ] Calories Per Second to Mechanical Hp
- [ ] Calories Per Second to Megawatts - [ ] Calories Per Second to Megawatts
- [ ] Calories Per Second to Metric Horsepower (ps) - [x] Calories Per Second to Metric Horsepower (ps)
- [x] Calories Per Second to Metric Horsepower (ps)
- [ ] Calories Per Second to Tons Of Refrigeration - [ ] Calories Per Second to Tons Of Refrigeration
- [ ] Calories to Electron-volts - [ ] Calories to Electron-volts
- [ ] Calories to Ergs - [ ] Calories to Ergs
@@ -3807,8 +3926,8 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Decades to Shakes - [ ] Decades to Shakes
- [ ] Decades to Sidereal Days - [ ] Decades to Sidereal Days
- [ ] Decades to Weeks - [ ] Decades to Weeks
- [ ] Degrees to Quadrants - [x] Degrees to Quadrants
- [ ] Degrees to Sextants - [x] Degrees to Sextants
- [x] Delisle to Fahrenheit - [x] Delisle to Fahrenheit
- [x] Delisle to Kelvin - [x] Delisle to Kelvin
- [x] Delisle to Newton (temp Scale) - [x] Delisle to Newton (temp Scale)
@@ -4453,13 +4572,13 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Gill to Teaspoons - [ ] Gill to Teaspoons
- [ ] Gill to Us Gallons - [ ] Gill to Us Gallons
- [ ] Gill to Us Pints - [ ] Gill to Us Pints
- [ ] Gradians to Arcminutes - [x] Gradians to Arcminutes
- [ ] Gradians to Arcseconds - [x] Gradians to Arcseconds
- [ ] Gradians to Mils - [x] Gradians to Mils
- [ ] Gradians to Points (compass) - [x] Gradians to Points (compass)
- [ ] Gradians to Quadrants - [x] Gradians to Quadrants
- [ ] Gradians to Sextants - [x] Gradians to Sextants
- [ ] Gradians to Turns - [x] Gradians to Turns
- [ ] Grains to Amu - [ ] Grains to Amu
- [ ] Grains to Apothecary Ounces - [ ] Grains to Apothecary Ounces
- [ ] Grains to Atomic Mass Units - [ ] Grains to Atomic Mass Units
@@ -4671,10 +4790,10 @@ The registry currently contains 416 unique calculator slugs.
- [x] Horsepower to btu/min - [x] Horsepower to btu/min
- [x] Horsepower to Calories Per Second - [x] Horsepower to Calories Per Second
- [x] Horsepower to Electrical Horsepower - [x] Horsepower to Electrical Horsepower
- [ ] Horsepower to Lusec - [x] Horsepower to Lusec
- [ ] Horsepower to Mechanical Hp - [x] Horsepower to Mechanical Hp
- [ ] Horsepower to Megawatts - [x] Horsepower to Megawatts
- [ ] Horsepower to Metric Horsepower (ps) - [x] Horsepower to Metric Horsepower (ps)
- [ ] Hours to Atomic Time Units - [ ] Hours to Atomic Time Units
- [ ] Hours to Centuries - [ ] Hours to Centuries
- [ ] Hours to Decades - [ ] Hours to Decades
@@ -5172,24 +5291,24 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Kilowatt-hours to Rydberg - [ ] Kilowatt-hours to Rydberg
- [ ] Kilowatt-hours to Ton Of Tnt - [ ] Kilowatt-hours to Ton Of Tnt
- [ ] Kilowatt-hours to Watt-hours - [ ] Kilowatt-hours to Watt-hours
- [ ] Kilowatts to Abamperes - [x] Kilowatts to Abamperes
- [ ] Kilowatts to Abvolts - [x] Kilowatts to Abvolts
- [ ] Kilowatts to Ampere-hours - [x] Kilowatts to Ampere-hours
- [ ] Kilowatts to Boiler Horsepower - [x] Kilowatts to Boiler Horsepower
- [ ] Kilowatts to btu/min - [ ] Kilowatts to btu/min
- [ ] Kilowatts to Calories Per Second - [x] Kilowatts to Calories Per Second
- [ ] Kilowatts to Coulombs - [x] Kilowatts to Coulombs
- [ ] Kilowatts to Electrical Horsepower - [x] Kilowatts to Farads
- [ ] Kilowatts to Farads - [x] Kilowatts to Henries
- [ ] Kilowatts to Henries - [x] Kilowatts to Lusec
- [ ] Kilowatts to Lusec - [x] Kilowatts to Mechanical Hp
- [ ] Kilowatts to Mechanical Hp - [x] Kilowatts to Electrical Horsepower
- [ ] Kilowatts to Metric Horsepower (ps) - [x] Kilowatts to Metric Horsepower (ps)
- [ ] Kilowatts to Microfarads - [x] Kilowatts to Microfarads
- [ ] Kilowatts to Microhenries - [x] Kilowatts to Microhenries
- [ ] Kilowatts to Milliampere-hours - [x] Kilowatts to Milliampere-hours
- [ ] Kilowatts to Milliamps - [x] Kilowatts to Milliamps
- [ ] Kilowatts to Millihenries - [x] Kilowatts to Millihenries
- [ ] Kilowatts to Millivolts - [ ] Kilowatts to Millivolts
- [ ] Kilowatts to Milliwatts - [ ] Kilowatts to Milliwatts
- [ ] Kilowatts to Ohms - [ ] Kilowatts to Ohms
@@ -5395,16 +5514,16 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Long Tons to Yoctograms - [ ] Long Tons to Yoctograms
- [ ] Long Tons to Zeptograms - [ ] Long Tons to Zeptograms
- [ ] Lumens to Foot-candles - [ ] Lumens to Foot-candles
- [ ] Lusec to Boiler Horsepower - [x] Lusec to Boiler Horsepower
- [ ] Lusec to btu/hour - [x] Lusec to btu/hour
- [ ] Lusec to btu/min - [x] Lusec to btu/min
- [ ] Lusec to Calories Per Second - [x] Lusec to Calories Per Second
- [ ] Lusec to Electrical Horsepower - [x] Lusec to Electrical Horsepower
- [ ] Lusec to Horsepower - [x] Lusec to Horsepower
- [ ] Lusec to Kilowatts - [x] Lusec to Kilowatts
- [ ] Lusec to Mechanical Hp - [x] Lusec to Mechanical Hp
- [ ] Lusec to Megawatts - [x] Lusec to Megawatts
- [ ] Lusec to Metric Horsepower (ps) - [x] Lusec to Metric Horsepower (ps)
- [ ] Lusec to Tons Of Refrigeration - [ ] Lusec to Tons Of Refrigeration
- [ ] Lux to Candela - [ ] Lux to Candela
- [ ] Mach to Centimeters Per Second - [ ] Mach to Centimeters Per Second
@@ -5440,16 +5559,16 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Mebibytes to Terabytes - [ ] Mebibytes to Terabytes
- [ ] Mebibytes to Words (16-bit) - [ ] Mebibytes to Words (16-bit)
- [ ] Mebibytes to Words (32-bit) - [ ] Mebibytes to Words (32-bit)
- [ ] Mechanical Hp to Boiler Horsepower - [x] Mechanical Hp to Boiler Horsepower
- [ ] Mechanical Hp to btu/hour - [ ] Mechanical Hp to btu/hour
- [ ] Mechanical Hp to btu/min - [ ] Mechanical Hp to btu/min
- [ ] Mechanical Hp to Calories Per Second - [ ] Mechanical Hp to Calories Per Second
- [ ] Mechanical Hp to Electrical Horsepower - [x] Mechanical Hp to Electrical Horsepower
- [ ] Mechanical Hp to Horsepower - [x] Mechanical Hp to Horsepower
- [ ] Mechanical Hp to Kilowatts - [ ] Mechanical Hp to Kilowatts
- [ ] Mechanical Hp to Lusec - [ ] Mechanical Hp to Lusec
- [ ] Mechanical Hp to Megawatts - [ ] Mechanical Hp to Megawatts
- [ ] Mechanical Hp to Metric Horsepower (ps) - [x] Mechanical Hp to Metric Horsepower (ps)
- [ ] Mechanical Hp to Tons Of Refrigeration - [ ] Mechanical Hp to Tons Of Refrigeration
- [ ] Mechanical Hp to Watts - [ ] Mechanical Hp to Watts
- [ ] Megabits to Bits - [ ] Megabits to Bits
@@ -5510,15 +5629,15 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Megapascals to Technical Atmosphere - [ ] Megapascals to Technical Atmosphere
- [ ] Megapascals to Technical Atmosphere (at) - [ ] Megapascals to Technical Atmosphere (at)
- [ ] Megapascals to Torr - [ ] Megapascals to Torr
- [ ] Megawatts to Boiler Horsepower - [x] Megawatts to Boiler Horsepower
- [ ] Megawatts to btu/hour - [ ] Megawatts to btu/hour
- [ ] Megawatts to btu/min - [ ] Megawatts to btu/min
- [ ] Megawatts to Calories Per Second - [ ] Megawatts to Calories Per Second
- [ ] Megawatts to Electrical Horsepower - [x] Megawatts to Electrical Horsepower
- [ ] Megawatts to Horsepower - [x] Megawatts to Horsepower
- [ ] Megawatts to Lusec - [ ] Megawatts to Lusec
- [ ] Megawatts to Mechanical Hp - [ ] Megawatts to Mechanical Hp
- [ ] Megawatts to Metric Horsepower (ps) - [x] Megawatts to Metric Horsepower (ps)
- [ ] Megawatts to Tons Of Refrigeration - [ ] Megawatts to Tons Of Refrigeration
- [ ] Megawatts to Watts - [ ] Megawatts to Watts
- [ ] Meters Of Seawater to Atmosphere - [ ] Meters Of Seawater to Atmosphere
@@ -5569,17 +5688,17 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Meters to Smoots - [ ] Meters to Smoots
- [ ] Meters to Thou - [ ] Meters to Thou
- [ ] Meters to Thou (mil) - [ ] Meters to Thou (mil)
- [ ] Metric Horsepower (ps) to Boiler Horsepower - [x] Metric Horsepower (ps) to Boiler Horsepower
- [ ] Metric Horsepower (ps) to btu/hour - [x] Metric Horsepower (ps) to btu/hour
- [ ] Metric Horsepower (ps) to btu/min - [x] Metric Horsepower (ps) to btu/min
- [ ] Metric Horsepower (ps) to Calories Per Second - [x] Metric Horsepower (ps) to Calories Per Second
- [ ] Metric Horsepower (ps) to Electrical Horsepower - [x] Metric Horsepower (ps) to Electrical Horsepower
- [ ] Metric Horsepower (ps) to Horsepower - [x] Metric Horsepower (ps) to Horsepower
- [ ] Metric Horsepower (ps) to Kilowatts - [x] Metric Horsepower (ps) to Kilowatts
- [ ] Metric Horsepower (ps) to Lusec - [x] Metric Horsepower (ps) to Lusec
- [ ] Metric Horsepower (ps) to Mechanical Hp - [x] Metric Horsepower (ps) to Mechanical Hp
- [ ] Metric Horsepower (ps) to Megawatts - [x] Metric Horsepower (ps) to Megawatts
- [ ] Metric Horsepower (ps) to Tons Of Refrigeration - [x] Metric Horsepower (ps) to Tons Of Refrigeration
- [ ] Metric Tons to Amu - [ ] Metric Tons to Amu
- [ ] Metric Tons to Apothecary Ounces - [ ] Metric Tons to Apothecary Ounces
- [ ] Metric Tons to Atomic Mass Units - [ ] Metric Tons to Atomic Mass Units
@@ -6111,13 +6230,13 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Milliwatts to Statvolts - [ ] Milliwatts to Statvolts
- [ ] Milliwatts to Volts - [ ] Milliwatts to Volts
- [ ] Milliwatts to Watt-hours - [ ] Milliwatts to Watt-hours
- [ ] Mils to Arcminutes - [x] Mils to Arcminutes
- [ ] Mils to Arcseconds - [x] Mils to Arcseconds
- [ ] Mils to Gradians - [x] Mils to Gradians
- [ ] Mils to Points (compass) - [x] Mils to Points (compass)
- [ ] Mils to Quadrants - [x] Mils to Quadrants
- [ ] Mils to Sextants - [x] Mils to Sextants
- [ ] Mils to Turns - [x] Mils to Turns
- [ ] Minims to Acre-feet - [ ] Minims to Acre-feet
- [ ] Minims to Barrel (us Oil) - [ ] Minims to Barrel (us Oil)
- [ ] Minims to Bushels - [ ] Minims to Bushels
@@ -6755,14 +6874,14 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Planck Time to Sidereal Days - [ ] Planck Time to Sidereal Days
- [ ] Planck Time to Weeks - [ ] Planck Time to Weeks
- [ ] Planck Time to Years - [ ] Planck Time to Years
- [ ] Points (compass) to Arcminutes - [x] Points (compass) to Arcminutes
- [ ] Points (compass) to Arcseconds - [x] Points (compass) to Arcseconds
- [ ] Points (compass) to Gradians - [x] Points (compass) to Gradians
- [ ] Points (compass) to Mils - [x] Points (compass) to Mils
- [ ] Points (compass) to Quadrants - [x] Points (compass) to Quadrants
- [ ] Points (compass) to Radians - [x] Points (compass) to Radians
- [ ] Points (compass) to Sextants - [x] Points (compass) to Sextants
- [ ] Points (compass) to Turns - [x] Points (compass) to Turns
- [ ] Poise to Centipoise - [ ] Poise to Centipoise
- [ ] Poise to Centistokes - [ ] Poise to Centistokes
- [ ] Poise to Saybolt Universal Seconds - [ ] Poise to Saybolt Universal Seconds
@@ -6834,8 +6953,8 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Psi to Pascals - [ ] Psi to Pascals
- [ ] Psi to Technical Atmosphere - [ ] Psi to Technical Atmosphere
- [ ] Psi to Technical Atmosphere (at) - [ ] Psi to Technical Atmosphere (at)
- [ ] Quadrants to Arcminutes - [x] Quadrants to Arcminutes
- [ ] Quadrants to Arcseconds - [x] Quadrants to Arcseconds
- [ ] Quadrants to Gradians - [ ] Quadrants to Gradians
- [ ] Quadrants to Mils - [ ] Quadrants to Mils
- [ ] Quadrants to Points (compass) - [ ] Quadrants to Points (compass)
@@ -7795,14 +7914,14 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Ton Of Tnt to Rydberg - [ ] Ton Of Tnt to Rydberg
- [ ] Ton Of Tnt to Therms - [ ] Ton Of Tnt to Therms
- [ ] Ton Of Tnt to Watt-hours - [ ] Ton Of Tnt to Watt-hours
- [ ] Tons Of Refrigeration to Boiler Horsepower - [x] Tons Of Refrigeration to Boiler Horsepower
- [ ] Tons Of Refrigeration to btu/min - [ ] Tons Of Refrigeration to btu/min
- [ ] Tons Of Refrigeration to Calories Per Second - [ ] Tons Of Refrigeration to Calories Per Second
- [ ] Tons Of Refrigeration to Electrical Horsepower - [x] Tons Of Refrigeration to Electrical Horsepower
- [ ] Tons Of Refrigeration to Lusec - [ ] Tons Of Refrigeration to Lusec
- [ ] Tons Of Refrigeration to Mechanical Hp - [ ] Tons Of Refrigeration to Mechanical Hp
- [ ] Tons Of Refrigeration to Megawatts - [ ] Tons Of Refrigeration to Megawatts
- [ ] Tons Of Refrigeration to Metric Horsepower (ps) - [x] Tons Of Refrigeration to Metric Horsepower (ps)
- [ ] Tons Of Refrigeration to Watts - [ ] Tons Of Refrigeration to Watts
- [ ] Tons to Amu - [ ] Tons to Amu
- [ ] Tons to Apothecary Ounces - [ ] Tons to Apothecary Ounces
@@ -8040,30 +8159,30 @@ The registry currently contains 416 unique calculator slugs.
- [ ] Watt-hours to Ton Of Tnt - [ ] Watt-hours to Ton Of Tnt
- [ ] Watt-hours to Volts - [ ] Watt-hours to Volts
- [ ] Watt-hours to Watts - [ ] Watt-hours to Watts
- [ ] Watts to Abamperes - [x] Watts to Abamperes
- [ ] Watts to Abvolts - [x] Watts to Abvolts
- [ ] Watts to Ampere-hours - [x] Watts to Ampere-hours
- [ ] Watts to Coulombs - [x] Watts to Coulombs
- [ ] Watts to Electrical Horsepower - [x] Watts to Electrical Horsepower
- [ ] Watts to Farads - [x] Watts to Farads
- [ ] Watts to Henries - [x] Watts to Henries
- [ ] Watts to Kva - [x] Watts to Kva
- [ ] Watts to Lusec - [x] Watts to Lusec
- [ ] Watts to Mechanical Hp - [x] Watts to Mechanical Hp
- [ ] Watts to Megawatts - [x] Watts to Megawatts
- [ ] Watts to Microfarads - [x] Watts to Microfarads
- [ ] Watts to Microhenries - [x] Watts to Microhenries
- [ ] Watts to Milliampere-hours - [x] Watts to Milliampere-hours
- [ ] Watts to Milliamps - [x] Watts to Milliamps
- [ ] Watts to Millihenries - [x] Watts to Millihenries
- [ ] Watts to Millivolts - [x] Watts to Millivolts
- [ ] Watts to Ohms - [x] Watts to Ohms
- [ ] Watts to Picofarads - [x] Watts to Picofarads
- [ ] Watts to Siemens - [x] Watts to Siemens
- [ ] Watts to Statamperes - [x] Watts to Statamperes
- [ ] Watts to Statvolts - [x] Watts to Statvolts
- [ ] Watts to Tons Of Refrigeration - [x] Watts to Tons Of Refrigeration
- [ ] Watts to Watt-hours - [x] Watts to Watt-hours
- [ ] Weber to Ampere-turns Per Meter - [ ] Weber to Ampere-turns Per Meter
- [ ] Weber to Gauss - [ ] Weber to Gauss
- [ ] Weber to Milligauss - [ ] Weber to Milligauss

View File

@@ -468,11 +468,15 @@ a:hover {
} }
.category-grid { .category-grid {
width: min(1160px, 100%); width: min(1160px, 100%);
display: grid; display: flex;
grid-template-columns: repeat(auto-fit, minmax(180px, 220px)); flex-wrap: wrap;
gap: clamp(0.75rem, 1.3vw, 1.25rem);
justify-content: center; justify-content: center;
justify-items: stretch; gap: clamp(0.75rem, 1.3vw, 1.25rem);
}
.category-grid .category-card {
flex: 0 1 clamp(180px, 22vw, 220px);
min-width: 180px;
max-width: 220px;
} }
/* ─── Calculator List (category page) ────────────────────── */ /* ─── Calculator List (category page) ────────────────────── */
@@ -600,10 +604,17 @@ a:hover {
/* ─── Responsive ─────────────────────────────────────────── */ /* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) { @media (max-width: 1024px) {
.hamburger { .hamburger {
display: block; display: block;
} }
.site-body {
gap: 1rem;
padding-inline: 1rem;
}
}
@media (max-width: 768px) {
.main-content { .main-content {
padding: 1.25rem; padding: 1.25rem;
} }
@@ -618,8 +629,11 @@ a:hover {
} }
.category-grid { .category-grid {
width: min(960px, 100%); width: min(960px, 100%);
grid-template-columns: repeat(auto-fit, minmax(150px, 200px)); }
justify-content: center; .category-grid .category-card {
flex: 0 1 clamp(150px, 40vw, 200px);
min-width: 150px;
max-width: 200px;
} }
.stats-row { .stats-row {
gap: 1.5rem; gap: 1.5rem;

View File

@@ -13,6 +13,8 @@
let val2 = ''; let val2 = '';
let val3 = ''; let val3 = '';
let activeField: 1 | 2 | 3 = 1; let activeField: 1 | 2 | 3 = 1;
let swapSnapshot: { val1: string; val2: string } | null = null;
let isSwapFlipped = false;
$: has3 = ['3col', '3col-mul'].includes(config.type) || !!config.labels.in3; $: has3 = ['3col', '3col-mul'].includes(config.type) || !!config.labels.in3;
$: isTextInput = ['base', 'text-bin', 'bin-text', 'dec-frac', 'dms-dd', 'dd-dms'].includes(config.type); $: isTextInput = ['base', 'text-bin', 'bin-text', 'dec-frac', 'dms-dd', 'dd-dms'].includes(config.type);
@@ -24,7 +26,13 @@
let paramsInitializing = true; let paramsInitializing = true;
function resetSwapState() {
swapSnapshot = null;
isSwapFlipped = false;
}
function handleInput(source: 1 | 2 | 3) { function handleInput(source: 1 | 2 | 3) {
resetSwapState();
activeField = source; activeField = source;
const result = solve(config, source, val1, val2, val3); const result = solve(config, source, val1, val2, val3);
if (source !== 1) val1 = result.val1; if (source !== 1) val1 = result.val1;
@@ -33,14 +41,23 @@
} }
function swap() { function swap() {
[val1, val2] = [val2, val1]; if (isSwapFlipped && swapSnapshot) {
handleInput(1); val1 = swapSnapshot.val1;
val2 = swapSnapshot.val2;
resetSwapState();
} else {
swapSnapshot = { val1, val2 };
[val1, val2] = [val2, val1];
isSwapFlipped = true;
}
activeField = activeField === 1 ? 2 : 1;
} }
function clear() { function clear() {
val1 = ''; val1 = '';
val2 = ''; val2 = '';
val3 = ''; val3 = '';
resetSwapState();
} }
onMount(() => { onMount(() => {

View File

@@ -64,7 +64,7 @@
export let open = false; export let open = false;
</script> </script>
<aside class="sidebar" class:open> <aside class="sidebar" class:open id="site-navigation" aria-hidden={open ? 'false' : 'true'}>
<div class="sidebar-header"> <div class="sidebar-header">
<h3>All Converters</h3> <h3>All Converters</h3>
<button class="close-btn" on:click={() => (open = false)} aria-label="Close sidebar"></button> <button class="close-btn" on:click={() => (open = false)} aria-label="Close sidebar"></button>
@@ -298,7 +298,7 @@
display: none; display: none;
} }
@media (max-width: 768px) { @media (max-width: 1024px) {
.sidebar { .sidebar {
position: fixed; position: fixed;
top: 0; top: 0;

View File

@@ -178,6 +178,46 @@ export const calculators: CalculatorDef[] = [
{"slug": "arcminutes-to-arcseconds", "name": "Arcminutes to Arcseconds", "category": "time", "type": "standard", "teaser": "Expand each arcminute into 60 arcseconds for high-precision angles.", "labels": {"in1": "Arcminutes", "in2": "Arcseconds"}, "factor": 60.0}, {"slug": "arcminutes-to-arcseconds", "name": "Arcminutes to Arcseconds", "category": "time", "type": "standard", "teaser": "Expand each arcminute into 60 arcseconds for high-precision angles.", "labels": {"in1": "Arcminutes", "in2": "Arcseconds"}, "factor": 60.0},
{"slug": "arcminutes-to-degrees", "name": "Arcminutes to Degrees", "category": "time", "type": "standard", "teaser": "Convert minutes of arc into degrees.", "labels": {"in1": "Arcminutes", "in2": "Degrees"}, "factor": 0.0166666667}, {"slug": "arcminutes-to-degrees", "name": "Arcminutes to Degrees", "category": "time", "type": "standard", "teaser": "Convert minutes of arc into degrees.", "labels": {"in1": "Arcminutes", "in2": "Degrees"}, "factor": 0.0166666667},
{"slug": "arcseconds-to-arcminutes", "name": "Arcseconds to Arcminutes", "category": "time", "type": "standard", "teaser": "Turn arcseconds back into minutes for fine-grained angles.", "labels": {"in1": "Arcseconds", "in2": "Arcminutes"}, "factor": 0.0166666667, "hidden": true}, {"slug": "arcseconds-to-arcminutes", "name": "Arcseconds to Arcminutes", "category": "time", "type": "standard", "teaser": "Turn arcseconds back into minutes for fine-grained angles.", "labels": {"in1": "Arcseconds", "in2": "Arcminutes"}, "factor": 0.0166666667, "hidden": true},
{"slug": "arcminutes-to-gradians", "name": "Arcminutes to Gradians", "category": "time", "type": "standard", "labels": {"in1": "Arcminutes", "in2": "Gradians"}, "factor": 0.0185185185185, "hidden": true},
{"slug": "arcminutes-to-mils", "name": "Arcminutes to Mils", "category": "time", "type": "standard", "labels": {"in1": "Arcminutes", "in2": "Mils"}, "factor": 0.296296296296, "hidden": true},
{"slug": "arcminutes-to-points-compass", "name": "Arcminutes to Points (compass)", "category": "time", "type": "standard", "labels": {"in1": "Arcminutes", "in2": "Points (compass)"}, "factor": 0.00148148148148},
{"slug": "arcminutes-to-quadrants", "name": "Arcminutes to Quadrants", "category": "time", "type": "standard", "labels": {"in1": "Arcminutes", "in2": "Quadrants"}, "factor": 0.000185185185185, "hidden": true},
{"slug": "arcminutes-to-radians", "name": "Arcminutes to Radians", "category": "time", "type": "standard", "labels": {"in1": "Arcminutes", "in2": "Radians"}, "factor": 0.000290888208666},
{"slug": "arcminutes-to-sextants", "name": "Arcminutes to Sextants", "category": "time", "type": "standard", "labels": {"in1": "Arcminutes", "in2": "Sextants"}, "factor": 0.000277777777778},
{"slug": "arcminutes-to-turns", "name": "Arcminutes to Turns", "category": "time", "type": "standard", "labels": {"in1": "Arcminutes", "in2": "Turns"}, "factor": 4.62962962963e-05},
{"slug": "arcseconds-to-gradians", "name": "Arcseconds to Gradians", "category": "time", "type": "standard", "labels": {"in1": "Arcseconds", "in2": "Gradians"}, "factor": 0.000308641975309, "hidden": true},
{"slug": "arcseconds-to-mils", "name": "Arcseconds to Mils", "category": "time", "type": "standard", "labels": {"in1": "Arcseconds", "in2": "Mils"}, "factor": 0.00493827160494, "hidden": true},
{"slug": "arcseconds-to-points-compass", "name": "Arcseconds to Points (compass)", "category": "time", "type": "standard", "labels": {"in1": "Arcseconds", "in2": "Points (compass)"}, "factor": 2.46913580247e-05},
{"slug": "arcseconds-to-quadrants", "name": "Arcseconds to Quadrants", "category": "time", "type": "standard", "labels": {"in1": "Arcseconds", "in2": "Quadrants"}, "factor": 3.08641975309e-06, "hidden": true},
{"slug": "arcseconds-to-radians", "name": "Arcseconds to Radians", "category": "time", "type": "standard", "labels": {"in1": "Arcseconds", "in2": "Radians"}, "factor": 4.8481368111e-06},
{"slug": "arcseconds-to-sextants", "name": "Arcseconds to Sextants", "category": "time", "type": "standard", "labels": {"in1": "Arcseconds", "in2": "Sextants"}, "factor": 4.62962962963e-06},
{"slug": "arcseconds-to-turns", "name": "Arcseconds to Turns", "category": "time", "type": "standard", "labels": {"in1": "Arcseconds", "in2": "Turns"}, "factor": 7.71604938272e-07},
{"slug": "degrees-to-quadrants", "name": "Degrees to Quadrants", "category": "angle", "type": "standard", "labels": {"in1": "Degrees", "in2": "Quadrants"}, "factor": 0.0111111111111, "hidden": true},
{"slug": "degrees-to-sextants", "name": "Degrees to Sextants", "category": "angle", "type": "standard", "labels": {"in1": "Degrees", "in2": "Sextants"}, "factor": 0.0166666666667, "hidden": true},
{"slug": "gradians-to-arcminutes", "name": "Gradians to Arcminutes", "category": "time", "type": "standard", "labels": {"in1": "Gradians", "in2": "Arcminutes"}, "factor": 54.0},
{"slug": "gradians-to-arcseconds", "name": "Gradians to Arcseconds", "category": "time", "type": "standard", "labels": {"in1": "Gradians", "in2": "Arcseconds"}, "factor": 3240.0},
{"slug": "gradians-to-mils", "name": "Gradians to Mils", "category": "angle", "type": "standard", "labels": {"in1": "Gradians", "in2": "Mils"}, "factor": 16.0},
{"slug": "gradians-to-points-compass", "name": "Gradians to Points (compass)", "category": "angle", "type": "standard", "labels": {"in1": "Gradians", "in2": "Points (compass)"}, "factor": 0.08},
{"slug": "gradians-to-quadrants", "name": "Gradians to Quadrants", "category": "angle", "type": "standard", "labels": {"in1": "Gradians", "in2": "Quadrants"}, "factor": 0.01},
{"slug": "gradians-to-sextants", "name": "Gradians to Sextants", "category": "angle", "type": "standard", "labels": {"in1": "Gradians", "in2": "Sextants"}, "factor": 0.015},
{"slug": "gradians-to-turns", "name": "Gradians to Turns", "category": "angle", "type": "standard", "labels": {"in1": "Gradians", "in2": "Turns"}, "factor": 0.0025},
{"slug": "mils-to-arcminutes", "name": "Mils to Arcminutes", "category": "time", "type": "standard", "labels": {"in1": "Mils", "in2": "Arcminutes"}, "factor": 3.375},
{"slug": "mils-to-arcseconds", "name": "Mils to Arcseconds", "category": "time", "type": "standard", "labels": {"in1": "Mils", "in2": "Arcseconds"}, "factor": 202.5},
{"slug": "mils-to-gradians", "name": "Mils to Gradians", "category": "angle", "type": "standard", "labels": {"in1": "Mils", "in2": "Gradians"}, "factor": 0.0625, "hidden": true},
{"slug": "mils-to-points-compass", "name": "Mils to Points (compass)", "category": "other", "type": "standard", "labels": {"in1": "Mils", "in2": "Points (compass)"}, "factor": 0.005},
{"slug": "mils-to-quadrants", "name": "Mils to Quadrants", "category": "angle", "type": "standard", "labels": {"in1": "Mils", "in2": "Quadrants"}, "factor": 0.000625},
{"slug": "mils-to-sextants", "name": "Mils to Sextants", "category": "other", "type": "standard", "labels": {"in1": "Mils", "in2": "Sextants"}, "factor": 0.0009375},
{"slug": "mils-to-turns", "name": "Mils to Turns", "category": "other", "type": "standard", "labels": {"in1": "Mils", "in2": "Turns"}, "factor": 0.00015625},
{"slug": "points-compass-to-arcminutes", "name": "Points (compass) to Arcminutes", "category": "time", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Arcminutes"}, "factor": 675.0},
{"slug": "points-compass-to-arcseconds", "name": "Points (compass) to Arcseconds", "category": "time", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Arcseconds"}, "factor": 40500.0},
{"slug": "points-compass-to-gradians", "name": "Points (compass) to Gradians", "category": "angle", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Gradians"}, "factor": 12.5},
{"slug": "points-compass-to-mils", "name": "Points (compass) to Mils", "category": "other", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Mils"}, "factor": 200.0},
{"slug": "points-compass-to-quadrants", "name": "Points (compass) to Quadrants", "category": "angle", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Quadrants"}, "factor": 0.125},
{"slug": "points-compass-to-radians", "name": "Points (compass) to Radians", "category": "angle", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Radians"}, "factor": 0.196349540849},
{"slug": "points-compass-to-sextants", "name": "Points (compass) to Sextants", "category": "other", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Sextants"}, "factor": 0.1875},
{"slug": "points-compass-to-turns", "name": "Points (compass) to Turns", "category": "other", "type": "standard", "labels": {"in1": "Points (compass)", "in2": "Turns"}, "factor": 0.03125},
{"slug": "quadrants-to-arcminutes", "name": "Quadrants to Arcminutes", "category": "time", "type": "standard", "labels": {"in1": "Quadrants", "in2": "Arcminutes"}, "factor": 5400.0},
{"slug": "quadrants-to-arcseconds", "name": "Quadrants to Arcseconds", "category": "time", "type": "standard", "labels": {"in1": "Quadrants", "in2": "Arcseconds"}, "factor": 324000.0},
{"slug": "arcseconds-to-degrees", "name": "Arcseconds to Degrees", "category": "time", "type": "standard", "teaser": "Express tiny angle pieces as degrees.", "labels": {"in1": "Arcseconds", "in2": "Degrees"}, "factor": 0.00027777778}, {"slug": "arcseconds-to-degrees", "name": "Arcseconds to Degrees", "category": "time", "type": "standard", "teaser": "Express tiny angle pieces as degrees.", "labels": {"in1": "Arcseconds", "in2": "Degrees"}, "factor": 0.00027777778},
{"slug": "dynes-to-newtons", "name": "Dynes to Newtons", "category": "force", "type": "standard", "labels": {"in1": "Dynes", "in2": "Newtons"}, "factor": 1e-05, "hidden": true}, {"slug": "dynes-to-newtons", "name": "Dynes to Newtons", "category": "force", "type": "standard", "labels": {"in1": "Dynes", "in2": "Newtons"}, "factor": 1e-05, "hidden": true},
{"slug": "ergs-to-joules", "name": "Ergs to Joules", "category": "energy", "type": "standard", "labels": {"in1": "Ergs", "in2": "Joules"}, "factor": 1e-07, "hidden": true}, {"slug": "ergs-to-joules", "name": "Ergs to Joules", "category": "energy", "type": "standard", "labels": {"in1": "Ergs", "in2": "Joules"}, "factor": 1e-07, "hidden": true},
@@ -214,7 +254,7 @@ export const calculators: CalculatorDef[] = [
{"slug": "boiler-horsepower-to-kilowatts", "name": "Boiler Horsepower to Kilowatts", "category": "power", "type": "standard", "teaser": "Express boiler horsepower on the kilowatt scale.", "labels": {"in1": "Boiler Horsepower", "in2": "Kilowatts"}, "factor": 9.8095}, {"slug": "boiler-horsepower-to-kilowatts", "name": "Boiler Horsepower to Kilowatts", "category": "power", "type": "standard", "teaser": "Express boiler horsepower on the kilowatt scale.", "labels": {"in1": "Boiler Horsepower", "in2": "Kilowatts"}, "factor": 9.8095},
{"slug": "boiler-horsepower-to-lusec", "name": "Boiler Horsepower to Lusec", "category": "power", "type": "standard", "teaser": "Translate boiler horsepower into Lusecs.", "labels": {"in1": "Boiler Horsepower", "in2": "Lusec"}, "factor": 73577504.0878}, {"slug": "boiler-horsepower-to-lusec", "name": "Boiler Horsepower to Lusec", "category": "power", "type": "standard", "teaser": "Translate boiler horsepower into Lusecs.", "labels": {"in1": "Boiler Horsepower", "in2": "Lusec"}, "factor": 73577504.0878},
{"slug": "boiler-horsepower-to-mechanical-hp", "name": "Boiler Horsepower to Mechanical HP", "category": "power", "type": "standard", "teaser": "Compare boiler horsepower with mechanical HP.", "labels": {"in1": "Boiler Horsepower", "in2": "Mechanical HP"}, "factor": 13.1547561805}, {"slug": "boiler-horsepower-to-mechanical-hp", "name": "Boiler Horsepower to Mechanical HP", "category": "power", "type": "standard", "teaser": "Compare boiler horsepower with mechanical HP.", "labels": {"in1": "Boiler Horsepower", "in2": "Mechanical HP"}, "factor": 13.1547561805},
{"slug": "boiler-horsepower-to-megawatts", "name": "Boiler Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Express boiler horsepower as megawatts.", "labels": {"in1": "Boiler Horsepower", "in2": "Megawatts"}, "factor": 0.0098095}, {"slug": "boiler-horsepower-to-megawatts", "name": "Boiler Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Express boiler horsepower as megawatts.", "labels": {"in1": "Boiler Horsepower", "in2": "Megawatts"}, "factor": 0.0098095, "hidden": true},
{"slug": "boiler-horsepower-to-metric-horsepower-ps", "name": "Boiler Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "teaser": "Convert boiler output into metric horsepower.", "labels": {"in1": "Boiler Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 13.3372082549}, {"slug": "boiler-horsepower-to-metric-horsepower-ps", "name": "Boiler Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "teaser": "Convert boiler output into metric horsepower.", "labels": {"in1": "Boiler Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 13.3372082549},
{"slug": "boiler-horsepower-to-tons-of-refrigeration", "name": "Boiler Horsepower to Tons Of Refrigeration", "category": "weight", "type": "standard", "teaser": "Link boiler power to refrigeration tons.", "labels": {"in1": "Boiler Horsepower", "in2": "Tons Of Refrigeration"}, "factor": 2.78928361415}, {"slug": "boiler-horsepower-to-tons-of-refrigeration", "name": "Boiler Horsepower to Tons Of Refrigeration", "category": "weight", "type": "standard", "teaser": "Link boiler power to refrigeration tons.", "labels": {"in1": "Boiler Horsepower", "in2": "Tons Of Refrigeration"}, "factor": 2.78928361415},
{"slug": "btuhour-to-boiler-horsepower", "name": "BTU/hour to Boiler Horsepower", "category": "energy", "type": "standard", "teaser": "Turn BTU per hour into boiler horsepower.", "labels": {"in1": "BTU/hour", "in2": "Boiler Horsepower"}, "factor": 2.9876249554e-05}, {"slug": "btuhour-to-boiler-horsepower", "name": "BTU/hour to Boiler Horsepower", "category": "energy", "type": "standard", "teaser": "Turn BTU per hour into boiler horsepower.", "labels": {"in1": "BTU/hour", "in2": "Boiler Horsepower"}, "factor": 2.9876249554e-05},
@@ -233,16 +273,54 @@ export const calculators: CalculatorDef[] = [
{"slug": "electrical-horsepower-to-btumin", "name": "Electrical Horsepower to BTU/min", "category": "energy", "type": "standard", "teaser": "Express electrical horsepower as BTUs per minute.", "labels": {"in1": "Electrical Horsepower", "in2": "BTU/min"}, "factor": 42.4242943302}, {"slug": "electrical-horsepower-to-btumin", "name": "Electrical Horsepower to BTU/min", "category": "energy", "type": "standard", "teaser": "Express electrical horsepower as BTUs per minute.", "labels": {"in1": "Electrical Horsepower", "in2": "BTU/min"}, "factor": 42.4242943302},
{"slug": "electrical-horsepower-to-calories-per-second", "name": "Electrical Horsepower to Calories Per Second", "category": "speed", "type": "standard", "teaser": "Translate electrical horsepower into calories per second.", "labels": {"in1": "Electrical Horsepower", "in2": "Calories Per Second"}, "factor": 178.298279159}, {"slug": "electrical-horsepower-to-calories-per-second", "name": "Electrical Horsepower to Calories Per Second", "category": "speed", "type": "standard", "teaser": "Translate electrical horsepower into calories per second.", "labels": {"in1": "Electrical Horsepower", "in2": "Calories Per Second"}, "factor": 178.298279159},
{"slug": "electrical-horsepower-to-horsepower", "name": "Electrical Horsepower to Horsepower", "category": "power", "type": "standard", "teaser": "Compare electrical horsepower with mechanical horsepower.", "labels": {"in1": "Electrical Horsepower", "in2": "Horsepower"}, "factor": 1.00040247828}, {"slug": "electrical-horsepower-to-horsepower", "name": "Electrical Horsepower to Horsepower", "category": "power", "type": "standard", "teaser": "Compare electrical horsepower with mechanical horsepower.", "labels": {"in1": "Electrical Horsepower", "in2": "Horsepower"}, "factor": 1.00040247828},
{"slug": "electrical-horsepower-to-kilowatts", "name": "Electrical Horsepower to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert electrical horsepower into kilowatts.", "labels": {"in1": "Electrical Horsepower", "in2": "Kilowatts"}, "factor": 0.746}, {"slug": "electrical-horsepower-to-kilowatts", "name": "Electrical Horsepower to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert electrical horsepower into kilowatts.", "labels": {"in1": "Electrical Horsepower", "in2": "Kilowatts"}, "factor": 0.746, "hidden": true},
{"slug": "electrical-horsepower-to-lusec", "name": "Electrical Horsepower to Lusec", "category": "power", "type": "standard", "teaser": "Express electrical horsepower as Lusecs.", "labels": {"in1": "Electrical Horsepower", "in2": "Lusec"}, "factor": 5595475.61543}, {"slug": "electrical-horsepower-to-lusec", "name": "Electrical Horsepower to Lusec", "category": "power", "type": "standard", "teaser": "Express electrical horsepower as Lusecs.", "labels": {"in1": "Electrical Horsepower", "in2": "Lusec"}, "factor": 5595475.61543},
{"slug": "electrical-horsepower-to-megawatts", "name": "Electrical Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Bring electrical horsepower onto the megawatt scale.", "labels": {"in1": "Electrical Horsepower", "in2": "Megawatts"}, "factor": 0.000746}, {"slug": "electrical-horsepower-to-megawatts", "name": "Electrical Horsepower to Megawatts", "category": "power", "type": "standard", "teaser": "Bring electrical horsepower onto the megawatt scale.", "labels": {"in1": "Electrical Horsepower", "in2": "Megawatts"}, "factor": 0.000746, "hidden": true},
{"slug": "electrical-horsepower-to-metric-horsepower-ps", "name": "Electrical Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "teaser": "Convert electrical horsepower into metric horsepower.", "labels": {"in1": "Electrical Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 1.01427772651}, {"slug": "electrical-horsepower-to-metric-horsepower-ps", "name": "Electrical Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "teaser": "Convert electrical horsepower into metric horsepower.", "labels": {"in1": "Electrical Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 1.01427772651},
{"slug": "electrical-horsepower-to-tons-of-refrigeration", "name": "Electrical Horsepower to Tons Of Refrigeration", "category": "weight", "type": "standard", "teaser": "Link electrical horsepower to refrigeration tons.", "labels": {"in1": "Electrical Horsepower", "in2": "Tons Of Refrigeration"}, "factor": 0.212121471651}, {"slug": "electrical-horsepower-to-tons-of-refrigeration", "name": "Electrical Horsepower to Tons Of Refrigeration", "category": "weight", "type": "standard", "teaser": "Link electrical horsepower to refrigeration tons.", "labels": {"in1": "Electrical Horsepower", "in2": "Tons Of Refrigeration"}, "factor": 0.212121471651, "hidden": true},
{"slug": "electrical-horsepower-to-watts", "name": "Electrical Horsepower to Watts", "category": "power", "type": "standard", "teaser": "Express electrical horsepower in watts.", "labels": {"in1": "Electrical Horsepower", "in2": "Watts"}, "factor": 746.0}, {"slug": "electrical-horsepower-to-watts", "name": "Electrical Horsepower to Watts", "category": "power", "type": "standard", "teaser": "Express electrical horsepower in watts.", "labels": {"in1": "Electrical Horsepower", "in2": "Watts"}, "factor": 746.0},
{"slug": "horsepower-to-boiler-horsepower", "name": "Horsepower to Boiler Horsepower", "category": "power", "type": "standard", "teaser": "Compare mechanical horsepower to boiler horsepower.", "labels": {"in1": "Horsepower", "in2": "Boiler Horsepower"}, "factor": 0.0760181326265, "hidden": true}, {"slug": "horsepower-to-boiler-horsepower", "name": "Horsepower to Boiler Horsepower", "category": "power", "type": "standard", "teaser": "Compare mechanical horsepower to boiler horsepower.", "labels": {"in1": "Horsepower", "in2": "Boiler Horsepower"}, "factor": 0.0760181326265, "hidden": true},
{"slug": "horsepower-to-btumin", "name": "Horsepower to BTU/min", "category": "energy", "type": "standard", "teaser": "Get BTUs per minute from mechanical horsepower.", "labels": {"in1": "Horsepower", "in2": "BTU/min"}, "factor": 42.4072263427}, {"slug": "horsepower-to-btumin", "name": "Horsepower to BTU/min", "category": "energy", "type": "standard", "teaser": "Get BTUs per minute from mechanical horsepower.", "labels": {"in1": "Horsepower", "in2": "BTU/min"}, "factor": 42.4072263427},
{"slug": "horsepower-to-calories-per-second", "name": "Horsepower to Calories Per Second", "category": "speed", "type": "standard", "teaser": "Translate mechanical horsepower into calories per second.", "labels": {"in1": "Horsepower", "in2": "Calories Per Second"}, "factor": 178.226546845}, {"slug": "horsepower-to-calories-per-second", "name": "Horsepower to Calories Per Second", "category": "speed", "type": "standard", "teaser": "Translate mechanical horsepower into calories per second.", "labels": {"in1": "Horsepower", "in2": "Calories Per Second"}, "factor": 178.226546845},
{"slug": "horsepower-to-electrical-horsepower", "name": "Horsepower to Electrical Horsepower", "category": "power", "type": "standard", "teaser": "Convert mechanical horsepower into electrical horsepower.", "labels": {"in1": "Horsepower", "in2": "Electrical Horsepower"}, "factor": 0.999597683646, "hidden": true}, {"slug": "horsepower-to-electrical-horsepower", "name": "Horsepower to Electrical Horsepower", "category": "power", "type": "standard", "teaser": "Convert mechanical horsepower into electrical horsepower.", "labels": {"in1": "Horsepower", "in2": "Electrical Horsepower"}, "factor": 0.999597683646, "hidden": true},
{"slug": "kilowatts-to-kva", "name": "Kilowatts to kVA", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "kVA"}},
{"slug": "lusec-to-watts", "name": "Lusec to Watts", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Watts"}, "factor": 0.000133322},
{"slug": "watts-to-btumin", "name": "Watts to BTU/min", "category": "energy", "type": "standard", "labels": {"in1": "Watts", "in2": "BTU/min"}, "factor": 0.0568690272522},
{"slug": "calories-per-second-to-metric-horsepower-ps", "name": "Calories Per Second to Metric Horsepower (ps)", "category": "speed", "type": "standard", "labels": {"in1": "Calories Per Second", "in2": "Metric Horsepower (ps)"}, "factor": 0.0056886568468},
{"slug": "horsepower-to-lusec", "name": "Horsepower to Lusec", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Lusec"}, "factor": 5593224.46408},
{"slug": "horsepower-to-mechanical-hp", "name": "Horsepower to Mechanical Hp", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Mechanical Hp"}},
{"slug": "horsepower-to-megawatts", "name": "Horsepower to Megawatts", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Megawatts"}, "factor": 0.000745699872, "hidden": true},
{"slug": "horsepower-to-metric-horsepower-ps", "name": "Horsepower to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Horsepower", "in2": "Metric Horsepower (ps)"}, "factor": 1.01386966599},
{"slug": "kilowatts-to-boiler-horsepower", "name": "Kilowatts to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "Boiler Horsepower"}, "factor": 0.101941995005, "hidden": true},
{"slug": "kilowatts-to-electrical-horsepower", "name": "Kilowatts to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "Electrical Horsepower"}, "factor": 1.34048257373},
{"slug": "kilowatts-to-metric-horsepower-ps", "name": "Kilowatts to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Kilowatts", "in2": "Metric Horsepower (ps)"}, "factor": 1.3596216173},
{"slug": "lusec-to-boiler-horsepower", "name": "Lusec to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Boiler Horsepower"}, "factor": 1.3591110658e-08, "hidden": true},
{"slug": "lusec-to-electrical-horsepower", "name": "Lusec to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Electrical Horsepower"}, "factor": 1.78715817694e-07, "hidden": true},
{"slug": "lusec-to-horsepower", "name": "Lusec to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Horsepower"}, "factor": 1.78787746929e-07, "hidden": true},
{"slug": "lusec-to-metric-horsepower-ps", "name": "Lusec to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Lusec", "in2": "Metric Horsepower (ps)"}, "factor": 1.81267473262e-07},
{"slug": "mechanical-hp-to-boiler-horsepower", "name": "Mechanical Hp to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Boiler Horsepower"}, "factor": 0.0760181326265, "hidden": true},
{"slug": "mechanical-hp-to-electrical-horsepower", "name": "Mechanical Hp to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Electrical Horsepower"}, "factor": 0.999597683646, "hidden": true},
{"slug": "mechanical-hp-to-horsepower", "name": "Mechanical Hp to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Horsepower"}, "hidden": true},
{"slug": "mechanical-hp-to-metric-horsepower-ps", "name": "Mechanical Hp to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Mechanical Hp", "in2": "Metric Horsepower (ps)"}, "factor": 1.01386966599},
{"slug": "megawatts-to-boiler-horsepower", "name": "Megawatts to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Boiler Horsepower"}, "factor": 101.941995005},
{"slug": "megawatts-to-electrical-horsepower", "name": "Megawatts to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Electrical Horsepower"}, "factor": 1340.48257373},
{"slug": "megawatts-to-horsepower", "name": "Megawatts to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Horsepower"}, "factor": 1341.02208884},
{"slug": "megawatts-to-metric-horsepower-ps", "name": "Megawatts to Metric Horsepower (ps)", "category": "power", "type": "standard", "labels": {"in1": "Megawatts", "in2": "Metric Horsepower (ps)"}, "factor": 1359.6216173},
{"slug": "metric-horsepower-ps-to-boiler-horsepower", "name": "Metric Horsepower (ps) to Boiler Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Boiler Horsepower"}, "factor": 0.0749782098986},
{"slug": "metric-horsepower-ps-to-btuhour", "name": "Metric Horsepower (ps) to BTU/hour", "category": "energy", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "BTU/hour"}, "factor": 2509.62590746},
{"slug": "metric-horsepower-ps-to-btumin", "name": "Metric Horsepower (ps) to BTU/min", "category": "energy", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "BTU/min"}, "factor": 41.8270984577},
{"slug": "metric-horsepower-ps-to-calories-per-second", "name": "Metric Horsepower (ps) to Calories Per Second", "category": "speed", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Calories Per Second"}, "factor": 175.788420172},
{"slug": "metric-horsepower-ps-to-electrical-horsepower", "name": "Metric Horsepower (ps) to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Electrical Horsepower"}, "factor": 0.985923257373},
{"slug": "metric-horsepower-ps-to-horsepower", "name": "Metric Horsepower (ps) to Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Horsepower"}, "factor": 0.986320070067},
{"slug": "metric-horsepower-ps-to-kilowatts", "name": "Metric Horsepower (ps) to Kilowatts", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Kilowatts"}, "factor": 0.73549875},
{"slug": "metric-horsepower-ps-to-lusec", "name": "Metric Horsepower (ps) to Lusec", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Lusec"}, "factor": 5516709.54531},
{"slug": "metric-horsepower-ps-to-mechanical-hp", "name": "Metric Horsepower (ps) to Mechanical Hp", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Mechanical Hp"}, "factor": 0.986320070067},
{"slug": "metric-horsepower-ps-to-megawatts", "name": "Metric Horsepower (ps) to Megawatts", "category": "power", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Megawatts"}, "factor": 0.00073549875},
{"slug": "metric-horsepower-ps-to-tons-of-refrigeration", "name": "Metric Horsepower (ps) to Tons Of Refrigeration", "category": "weight", "type": "standard", "labels": {"in1": "Metric Horsepower (ps)", "in2": "Tons Of Refrigeration"}, "factor": 0.209135492289},
{"slug": "tons-of-refrigeration-to-boiler-horsepower", "name": "Tons Of Refrigeration to Boiler Horsepower", "category": "weight", "type": "standard", "labels": {"in1": "Tons Of Refrigeration", "in2": "Boiler Horsepower"}, "factor": 0.358514994648, "hidden": true},
{"slug": "tons-of-refrigeration-to-electrical-horsepower", "name": "Tons Of Refrigeration to Electrical Horsepower", "category": "weight", "type": "standard", "labels": {"in1": "Tons Of Refrigeration", "in2": "Electrical Horsepower"}, "factor": 4.71427994638},
{"slug": "tons-of-refrigeration-to-metric-horsepower-ps", "name": "Tons Of Refrigeration to Metric Horsepower (ps)", "category": "weight", "type": "standard", "labels": {"in1": "Tons Of Refrigeration", "in2": "Metric Horsepower (ps)"}, "factor": 4.78158914614},
{"slug": "watts-to-electrical-horsepower", "name": "Watts to Electrical Horsepower", "category": "power", "type": "standard", "labels": {"in1": "Watts", "in2": "Electrical Horsepower"}, "factor": 0.00134048257373, "hidden": true},
{"slug": "hours-to-days", "name": "Hours to Days", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Days"}, "factor": 0.0416666667, "hidden": true}, {"slug": "hours-to-days", "name": "Hours to Days", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Days"}, "factor": 0.0416666667, "hidden": true},
{"slug": "hours-to-minutes", "name": "Hours to Minutes", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Minutes"}, "factor": 60.0}, {"slug": "hours-to-minutes", "name": "Hours to Minutes", "category": "time", "type": "standard", "labels": {"in1": "Hours", "in2": "Minutes"}, "factor": 60.0},
{"slug": "inches-of-mercury-to-pascals", "name": "Inches of Mercury to Pascals", "category": "length", "type": "standard", "labels": {"in1": "Inches of Mercury", "in2": "Pascals"}, "factor": 3386.389}, {"slug": "inches-of-mercury-to-pascals", "name": "Inches of Mercury to Pascals", "category": "length", "type": "standard", "labels": {"in1": "Inches of Mercury", "in2": "Pascals"}, "factor": 3386.389},
@@ -813,7 +891,7 @@ export const calculators: CalculatorDef[] = [
{"slug": "kpa-to-bar", "name": "kPa to Bar", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to bar.", "labels": {"in1": "kPa", "in2": "Bar"}, "factor": 0.01, "hidden": true}, {"slug": "kpa-to-bar", "name": "kPa to Bar", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to bar.", "labels": {"in1": "kPa", "in2": "Bar"}, "factor": 0.01, "hidden": true},
{"slug": "kpa-to-pascal", "name": "kPa to Pascal", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pascals.", "labels": {"in1": "kPa", "in2": "Pascal"}, "factor": 1000.0}, {"slug": "kpa-to-pascal", "name": "kPa to Pascal", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pascals.", "labels": {"in1": "kPa", "in2": "Pascal"}, "factor": 1000.0},
{"slug": "kpa-to-psi", "name": "kPa to PSI", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pounds per square inch.", "labels": {"in1": "kPa", "in2": "PSI"}, "factor": 0.1450377377, "hidden": true}, {"slug": "kpa-to-psi", "name": "kPa to PSI", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pounds per square inch.", "labels": {"in1": "kPa", "in2": "PSI"}, "factor": 0.1450377377, "hidden": true},
{"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}}, {"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}, "hidden": true},
{"slug": "leagues-per-hour-to-kmh", "name": "Leagues per Hour to Kilometers per Hour", "category": "length", "type": "standard", "teaser": "Convert leagues per hour into kilometers per hour.", "labels": {"in1": "Leagues per Hour", "in2": "Kilometers per Hour"}, "factor": 4.82803}, {"slug": "leagues-per-hour-to-kmh", "name": "Leagues per Hour to Kilometers per Hour", "category": "length", "type": "standard", "teaser": "Convert leagues per hour into kilometers per hour.", "labels": {"in1": "Leagues per Hour", "in2": "Kilometers per Hour"}, "factor": 4.82803},
{"slug": "leagues-to-kilometers", "name": "Leagues to Kilometers", "category": "length", "type": "standard", "teaser": "Convert leagues to kilometers.", "labels": {"in1": "Leagues", "in2": "Kilometers"}, "factor": 4.82803}, {"slug": "leagues-to-kilometers", "name": "Leagues to Kilometers", "category": "length", "type": "standard", "teaser": "Convert leagues to kilometers.", "labels": {"in1": "Leagues", "in2": "Kilometers"}, "factor": 4.82803},
{"slug": "leagues-to-miles", "name": "Leagues to Miles", "category": "length", "type": "standard", "teaser": "Convert leagues to miles.", "labels": {"in1": "Leagues", "in2": "Miles"}, "factor": 3.0}, {"slug": "leagues-to-miles", "name": "Leagues to Miles", "category": "length", "type": "standard", "teaser": "Convert leagues to miles.", "labels": {"in1": "Leagues", "in2": "Miles"}, "factor": 3.0},
@@ -931,7 +1009,7 @@ export const calculators: CalculatorDef[] = [
{"slug": "kpa-to-bar", "name": "kPa to Bar", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to bar.", "labels": {"in1": "kPa", "in2": "Bar"}, "factor": 0.01, "hidden": true}, {"slug": "kpa-to-bar", "name": "kPa to Bar", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to bar.", "labels": {"in1": "kPa", "in2": "Bar"}, "factor": 0.01, "hidden": true},
{"slug": "kpa-to-pascal", "name": "kPa to Pascal", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pascals.", "labels": {"in1": "kPa", "in2": "Pascal"}, "factor": 1000.0}, {"slug": "kpa-to-pascal", "name": "kPa to Pascal", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pascals.", "labels": {"in1": "kPa", "in2": "Pascal"}, "factor": 1000.0},
{"slug": "kpa-to-psi", "name": "kPa to PSI", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pounds per square inch.", "labels": {"in1": "kPa", "in2": "PSI"}, "factor": 0.1450377377, "hidden": true}, {"slug": "kpa-to-psi", "name": "kPa to PSI", "category": "pressure", "type": "standard", "teaser": "Convert kilopascals to pounds per square inch.", "labels": {"in1": "kPa", "in2": "PSI"}, "factor": 0.1450377377, "hidden": true},
{"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}}, {"slug": "kva-to-kilowatts", "name": "kVA to Kilowatts", "category": "power", "type": "standard", "teaser": "Convert apparent power to real power assuming unity power factor.", "labels": {"in1": "kVA", "in2": "Kilowatts"}, "hidden": true},
{"slug": "leagues-per-hour-to-kmh", "name": "Leagues per Hour to Kilometers per Hour", "category": "length", "type": "standard", "teaser": "Convert leagues per hour into kilometers per hour.", "labels": {"in1": "Leagues per Hour", "in2": "Kilometers per Hour"}, "factor": 4.82803}, {"slug": "leagues-per-hour-to-kmh", "name": "Leagues per Hour to Kilometers per Hour", "category": "length", "type": "standard", "teaser": "Convert leagues per hour into kilometers per hour.", "labels": {"in1": "Leagues per Hour", "in2": "Kilometers per Hour"}, "factor": 4.82803},
{"slug": "leagues-to-kilometers", "name": "Leagues to Kilometers", "category": "length", "type": "standard", "teaser": "Convert leagues to kilometers.", "labels": {"in1": "Leagues", "in2": "Kilometers"}, "factor": 4.82803}, {"slug": "leagues-to-kilometers", "name": "Leagues to Kilometers", "category": "length", "type": "standard", "teaser": "Convert leagues to kilometers.", "labels": {"in1": "Leagues", "in2": "Kilometers"}, "factor": 4.82803},
{"slug": "leagues-to-miles", "name": "Leagues to Miles", "category": "length", "type": "standard", "teaser": "Convert leagues to miles.", "labels": {"in1": "Leagues", "in2": "Miles"}, "factor": 3.0}, {"slug": "leagues-to-miles", "name": "Leagues to Miles", "category": "length", "type": "standard", "teaser": "Convert leagues to miles.", "labels": {"in1": "Leagues", "in2": "Miles"}, "factor": 3.0},

View File

@@ -307,12 +307,28 @@
updateTheme(event.matches ? 'dark' : 'light'); updateTheme(event.matches ? 'dark' : 'light');
}; };
const navBreakpoint = window.matchMedia('(max-width: 1024px)');
const handleNavBreakpoint = (event: MediaQueryListEvent) => {
if (event.matches) {
sidebarOpen = false;
}
};
if (navBreakpoint.matches) {
sidebarOpen = false;
}
const cleanup = () => { const cleanup = () => {
if ('removeEventListener' in mediaQuery) { if ('removeEventListener' in mediaQuery) {
mediaQuery.removeEventListener('change', handlePreferenceChange); mediaQuery.removeEventListener('change', handlePreferenceChange);
} else { } else {
mediaQuery.removeListener(handlePreferenceChange); mediaQuery.removeListener(handlePreferenceChange);
} }
if ('removeEventListener' in navBreakpoint) {
navBreakpoint.removeEventListener('change', handleNavBreakpoint);
} else {
navBreakpoint.removeListener(handleNavBreakpoint);
}
}; };
if ('addEventListener' in mediaQuery) { if ('addEventListener' in mediaQuery) {
@@ -321,6 +337,12 @@
mediaQuery.addListener(handlePreferenceChange); mediaQuery.addListener(handlePreferenceChange);
} }
if ('addEventListener' in navBreakpoint) {
navBreakpoint.addEventListener('change', handleNavBreakpoint);
} else {
navBreakpoint.addListener(handleNavBreakpoint);
}
return cleanup; return cleanup;
}); });
</script> </script>
@@ -343,7 +365,14 @@
<header class="site-header"> <header class="site-header">
<div style="display:flex;align-items:center;gap:0.75rem;"> <div style="display:flex;align-items:center;gap:0.75rem;">
{#if !isHomepage} {#if !isHomepage}
<button class="hamburger" on:click={() => (sidebarOpen = !sidebarOpen)} aria-label="Toggle menu"> <button
type="button"
class="hamburger"
on:click={() => (sidebarOpen = !sidebarOpen)}
aria-label="Toggle menu"
aria-controls="site-navigation"
aria-expanded={sidebarOpen ? 'true' : 'false'}
>
</button> </button>
{/if} {/if}