Add extended binary data conversions

This commit is contained in:
Codex Agent
2026-03-08 08:47:48 +00:00
parent 41e8735720
commit acd5a0e2af
3 changed files with 133 additions and 53 deletions

View File

@@ -87,6 +87,21 @@ The registry currently contains 1333 unique calculator slugs.
| Bytes to Words (32-bit) Convert byte counts into 32-bit words for modern registers. | bytes-to-words-32-bit | data | 0.25 |
| Bits to Kilobits Convert a bit count into kilobits for bandwidth planning. | bits-to-kilobits | data | 0.001 |
| Kilobits to Bits Expand kilobits back into raw bits. | kilobits-to-bits | data | 1000 |
| Kilobits to Bytes Translate kilobit packets into raw byte totals for captures. | kilobits-to-bytes | data | 125 |
| Kilobits to Exabytes Turn kilobit throughputs into exabyte orders for analytics. | kilobits-to-exabytes | data | 1.25e-16 |
| Kilobits to Gibibytes Map decimal kilobits onto binary gibibyte tanks. | kilobits-to-gibibytes | data | 1.1641532182693481e-7 |
| Kilobits to Gigabits Scale kilobits up to gigabit speeds for telecom comparisons. | kilobits-to-gigabits | data | 0.000001 |
| Kilobits to Gigabytes Convert kilobit streams into decimal gigabytes for storage planning. | kilobits-to-gigabytes | data | 1.25e-7 |
| Kilobits to Kibibytes Express kilobit counts in binary kibibytes for engineering docs. | kilobits-to-kibibytes | data | 0.1220703125 |
| Kilobits to Kilobytes Shift kilobit counts into kilobyte chunks to match file sizes. | kilobits-to-kilobytes | data | 0.125 |
| Kilobits to Mebibytes Compare kilobit totals to binary mebibytes for dataset calculations. | kilobits-to-mebibytes | data | 0.00011920928955078125 |
| Kilobits to Megabytes Convert kilobits into decimal megabytes for quick sizing. | kilobits-to-megabytes | data | 0.000125 |
| Kilobits to Nibbles Break down kilobits into 4-bit nibbles for low-level work. | kilobits-to-nibbles | data | 250 |
| Kilobits to Petabytes Project kilobit volumes into petabyte-scale archives. | kilobits-to-petabytes | data | 1.25e-13 |
| Kilobits to Tebibytes Express kilobits as tebibytes for precise infrastructure planning. | kilobits-to-tebibytes | data | 1.1368683772161603e-10 |
| Kilobits to Terabytes Convert kilobit throughput into terabyte quantities. | kilobits-to-terabytes | data | 1.25e-10 |
| Kilobits to Words (16-bit) Frame kilobits in 16-bit words to tie into legacy registers. | kilobits-to-words-16-bit | data | 62.5 |
| Kilobits to Words (32-bit) Translate kilobits into 32-bit words for modernization insights. | kilobits-to-words-32-bit | data | 31.25 |
| Bits to Kibibits Use binary kibibit units when dealing with 1,024-based counts. | bits-to-kibibits | data | 0.0009765625 |
| Kibibits to Bits Translate kibibit counts into bits. | kibibits-to-bits | data | 1024 |
| Bits to Megabits Describe bitstreams as megabits per second. | bits-to-megabits | data | 0.000001 |
@@ -113,6 +128,21 @@ The registry currently contains 1333 unique calculator slugs.
| Bytes to Tebibytes Translate bytes into tebibytes for tape libraries. | bytes-to-tebibytes | data | 9.094947017729282e-13 |
| Kilobytes to Kibibytes Switch kilobytes into kibibytes for binary storage conversions. | kilobytes-to-kibibytes | data | 0.9765625 |
| Kibibytes to Kilobytes Translate kibibytes into kilobytes. | kibibytes-to-kilobytes | data | 1.024 |
| Kibibytes to Bits Expand binary kibibytes into raw bits for low-level storage math. | kibibytes-to-bits | data | 8192 |
| Kibibytes to Exabytes Stretch a kibibyte into exabyte terms to describe petascale footprints. | kibibytes-to-exabytes | data | 1.024e-15 |
| Kibibytes to Gibibytes Compare binary gigabyte buckets with their kibibyte ancestors. | kibibytes-to-gibibytes | data | 9.5367431640625e-7 |
| Kibibytes to Gigabits Convert kibibyte quantities into gigabit bandwidth equivalents. | kibibytes-to-gigabits | data | 0.000008192 |
| Kibibytes to Gigabytes Express a kibibyte as a decimal gigabyte for marketing decks. | kibibytes-to-gigabytes | data | 0.000001024 |
| Kibibytes to Kilobits Translate 1,024-byte kibibytes into 1,000-bit kilobit chunks. | kibibytes-to-kilobits | data | 8.192 |
| Kibibytes to Mebibytes Roll up kibibytes into mebibytes when migrating binary storage tiers. | kibibytes-to-mebibytes | data | 0.0009765625 |
| Kibibytes to Megabits Convert small binary files into megabit-sized descriptors. | kibibytes-to-megabits | data | 0.008192 |
| Kibibytes to Megabytes Translate kibibytes into metric megabytes for reports. | kibibytes-to-megabytes | data | 0.001024 |
| Kibibytes to Nibbles Break kibibytes into 4-bit nibbles for low-level analyzers. | kibibytes-to-nibbles | data | 2048 |
| Kibibytes to Petabytes Relate kibibyte counts to fleet-scale petabyte capacities. | kibibytes-to-petabytes | data | 1.024e-12 |
| Kibibytes to Tebibytes See how Kibibytes stack up against tebibyte-sized vaults. | kibibytes-to-tebibytes | data | 9.313225746154785e-10 |
| Kibibytes to Terabytes Convert Kibibytes into terabytes for cloud migration plans. | kibibytes-to-terabytes | data | 1.024e-9 |
| Kibibytes to Words (16-bit) Express Kibibytes as 16-bit words when auditing legacy memory. | kibibytes-to-words-16-bit | data | 512 |
| Kibibytes to Words (32-bit) Convert Kibibytes to 32-bit words for modernization roadmaps. | kibibytes-to-words-32-bit | data | 256 |
| Kilobytes to Megabytes Express kilobytes as megabytes for quick summaries. | kilobytes-to-megabytes | data | 0.001 |
| Kilobytes to Mebibytes Turn kilobytes into mebibytes when power-of-two precision is needed. | kilobytes-to-mebibytes | data | 0.00095367431640625 |
| Mebibytes to Kilobytes Convert mebibytes into kilobytes. | mebibytes-to-kilobytes | data | 1048.576 |
@@ -124,6 +154,15 @@ The registry currently contains 1333 unique calculator slugs.
| Terabytes to Kilobytes Re-express terabytes as kilobytes. | terabytes-to-kilobytes | data | 1000000000 |
| Kilobytes to Tebibytes Convert kilobytes into tebibytes. | kilobytes-to-tebibytes | data | 9.094947017729282e-10 |
| Tebibytes to Kilobytes Translate tebibytes into kilobytes. | tebibytes-to-kilobytes | data | 1099511627.776 |
| Kilobytes to Bits Tally kilobytes in bits to align with bit-oriented specs. | kilobytes-to-bits | data | 8000 |
| Kilobytes to Exabytes See kilobytes as exabytes when talking about massive lakes. | kilobytes-to-exabytes | data | 1e-15 |
| Kilobytes to Gigabits Convert kilobytes into gigabit terms for networking narratives. | kilobytes-to-gigabits | data | 0.000008 |
| Kilobytes to Kilobits Reframe kilobytes as kilobits to compare storage with bandwidth. | kilobytes-to-kilobits | data | 8 |
| Kilobytes to Megabits Express kilobytes as megabits for multimedia throughput. | kilobytes-to-megabits | data | 0.008 |
| Kilobytes to Nibbles Convert kilobytes into nibbles when slicing packets. | kilobytes-to-nibbles | data | 2000 |
| Kilobytes to Petabytes Turn kilobytes into petabyte units for massive archive reports. | kilobytes-to-petabytes | data | 1e-12 |
| Kilobytes to Words (16-bit) Count kilobytes in 16-bit words for retro system audits. | kilobytes-to-words-16-bit | data | 500 |
| Kilobytes to Words (32-bit) Translate kilobytes into 32-bit words for migration planning. | kilobytes-to-words-32-bit | data | 250 |
| Megabytes to Gibibytes Compare megabytes with gibibytes for mixed units. | megabytes-to-gibibytes | data | 0.0009313225746154785 |
| BTU to Kilojoules | btu-to-kilojoules | energy | 1.05505585 |
| BTU/hour to Watts | btuhour-to-watts | energy | 0.293071 |
@@ -682,6 +721,7 @@ The registry currently contains 1333 unique calculator slugs.
| Maxwell to Weber Convert CGS magnetic flux (maxwell) into SI webers. | maxwell-to-weber | magnetism | 1e-08 |
| Mbps to Gbps Convert megabits per second into gigabits per second. | mbps-to-gbps | other | 0.001 |
| Mbps to Kbps Convert megabits per second into kilobits per second. | mbps-to-kbps | other | 1000 |
| Kbps to Gbps Scale kilobit-per-second stats into gigabit performance metrics. | kbps-to-gbps | other | 1e-6 |
| Mbps to MB/s Convert megabits per second into megabytes per second. | mbps-to-mb-per-second | other | 0.125 |
| Mebibytes to Megabytes Convert mebibytes into megabytes. | mebibytes-to-megabytes | data | 1.048576 |
| Megabits to Gigabits Convert megabits into gigabits. | megabits-to-gigabits | data | 0.001 |
@@ -7425,57 +7465,57 @@ The registry currently contains 1333 unique calculator slugs.
- [ ] Julian Years to Sidereal Days
- [ ] Julian Years to Weeks
- [ ] Julian Years to Years
- [ ] Kbps to Gbps
- [x] Kbps to Gbps
- [ ] Kbps to mb/s
- [x] Kelvin to Delisle
- [x] Kelvin to Newton (temp Scale)
- [x] Kelvin to Réaumur
- [x] Kelvin to Rømer
- [ ] Kibibytes to Bits
- [x] Kibibytes to Bits
- [ ] Kibibytes to Bytes
- [ ] Kibibytes to Exabytes
- [ ] Kibibytes to Gibibytes
- [ ] Kibibytes to Gigabits
- [ ] Kibibytes to Gigabytes
- [ ] Kibibytes to Kilobits
- [ ] Kibibytes to Mebibytes
- [ ] Kibibytes to Megabits
- [ ] Kibibytes to Megabytes
- [ ] Kibibytes to Nibbles
- [ ] Kibibytes to Petabytes
- [ ] Kibibytes to Tebibytes
- [ ] Kibibytes to Terabytes
- [ ] Kibibytes to Words (16-bit)
- [ ] Kibibytes to Words (32-bit)
- [ ] Kilobits to Bytes
- [ ] Kilobits to Exabytes
- [ ] Kilobits to Gibibytes
- [ ] Kilobits to Gigabits
- [ ] Kilobits to Gigabytes
- [ ] Kilobits to Kibibytes
- [ ] Kilobits to Kilobytes
- [ ] Kilobits to Mebibytes
- [ ] Kilobits to Megabytes
- [ ] Kilobits to Nibbles
- [ ] Kilobits to Petabytes
- [ ] Kilobits to Tebibytes
- [ ] Kilobits to Terabytes
- [ ] Kilobits to Words (16-bit)
- [ ] Kilobits to Words (32-bit)
- [ ] Kilobytes to Bits
- [ ] Kilobytes to Exabytes
- [x] Kibibytes to Exabytes
- [x] Kibibytes to Gibibytes
- [x] Kibibytes to Gigabits
- [x] Kibibytes to Gigabytes
- [x] Kibibytes to Kilobits
- [x] Kibibytes to Mebibytes
- [x] Kibibytes to Megabits
- [x] Kibibytes to Megabytes
- [x] Kibibytes to Nibbles
- [x] Kibibytes to Petabytes
- [x] Kibibytes to Tebibytes
- [x] Kibibytes to Terabytes
- [x] Kibibytes to Words (16-bit)
- [x] Kibibytes to Words (32-bit)
- [x] Kilobits to Bytes
- [x] Kilobits to Exabytes
- [x] Kilobits to Gibibytes
- [x] Kilobits to Gigabits
- [x] Kilobits to Gigabytes
- [x] Kilobits to Kibibytes
- [x] Kilobits to Kilobytes
- [x] Kilobits to Mebibytes
- [x] Kilobits to Megabytes
- [x] Kilobits to Nibbles
- [x] Kilobits to Petabytes
- [x] Kilobits to Tebibytes
- [x] Kilobits to Terabytes
- [x] Kilobits to Words (16-bit)
- [x] Kilobits to Words (32-bit)
- [x] Kilobytes to Bits
- [x] Kilobytes to Exabytes
- [ ] Kilobytes to Gibibytes
- [ ] Kilobytes to Gigabits
- [x] Kilobytes to Gigabits
- [ ] Kilobytes to Gigabytes
- [ ] Kilobytes to Kilobits
- [x] Kilobytes to Kilobits
- [ ] Kilobytes to Mebibytes
- [ ] Kilobytes to Megabits
- [ ] Kilobytes to Nibbles
- [ ] Kilobytes to Petabytes
- [x] Kilobytes to Megabits
- [x] Kilobytes to Nibbles
- [x] Kilobytes to Petabytes
- [ ] Kilobytes to Tebibytes
- [ ] Kilobytes to Terabytes
- [ ] Kilobytes to Words (16-bit)
- [ ] Kilobytes to Words (32-bit)
- [x] Kilobytes to Words (16-bit)
- [x] Kilobytes to Words (32-bit)
- [ ] Kilocalories to Btu
- [ ] Kilocalories to Electron-volts
- [ ] Kilocalories to Ergs

View File

@@ -80,7 +80,7 @@ export const calculators: CalculatorDef[] = [
{"slug": "stokes-to-centistokes", "name": "Stokes to Centistokes", "category": "other", "type": "standard", "teaser": "Convert stokes into centistokes for viscosity scales.", "labels": {"in1": "Stokes", "in2": "Centistokes"}, "factor": 100.0},
{"slug": "becquerel-to-curie", "name": "Becquerel to Curie", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Curie"}, "factor": 2.7027027e-11, "hidden": true},
{"slug": "becquerel-to-rutherford", "name": "Becquerel to Rutherford", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Rutherford"}, "factor": 1e-06, "hidden": true},
{"slug": "bits-to-bytes", "name": "Bits to Bytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Bytes"}, "factor": 0.1},
{"slug": "bits-to-bytes", "name": "Bits to Bytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Bytes"}, "factor": 0.125},
{"slug": "nibbles-to-bits", "name": "Nibbles to Bits", "category": "data", "type": "standard", "teaser": "Each 4-bit nibble stores exactly four bits in digital streams.", "labels": {"in1": "Nibbles", "in2": "Bits"}, "factor": 4.0},
{"slug": "words-16-bit-to-bits", "name": "Words (16-bit) to Bits", "category": "data", "type": "standard", "teaser": "Convert 16-bit words into raw bits for archive calculations.", "labels": {"in1": "Words (16-bit)", "in2": "Bits"}, "factor": 16.0},
{"slug": "words-16-bit-to-bytes", "name": "Words (16-bit) to Bytes", "category": "data", "type": "standard", "teaser": "Express a 16-bit word as a pair of bytes.", "labels": {"in1": "Words (16-bit)", "in2": "Bytes"}, "factor": 2.0},
@@ -121,6 +121,21 @@ export const calculators: CalculatorDef[] = [
{"slug": "bytes-to-words-32-bit", "name": "Bytes to Words (32-bit)", "category": "data", "type": "standard", "teaser": "Convert byte counts into 32-bit words for modern registers.", "labels": {"in1": "Bytes", "in2": "Words (32-bit)"}, "factor": 0.25},
{"slug": "bits-to-kilobits", "name": "Bits to Kilobits", "category": "data", "type": "standard", "teaser": "Convert a bit count into kilobits for bandwidth planning.", "labels": {"in1": "Bits", "in2": "Kilobits"}, "factor": 0.001},
{"slug": "kilobits-to-bits", "name": "Kilobits to Bits", "category": "data", "type": "standard", "teaser": "Expand kilobits back into raw bits.", "labels": {"in1": "Kilobits", "in2": "Bits"}, "factor": 1000.0},
{"slug": "kilobits-to-bytes", "name": "Kilobits to Bytes", "category": "data", "type": "standard", "teaser": "Translate kilobit packets into raw byte totals for captures.", "labels": {"in1": "Kilobits", "in2": "Bytes"}, "factor": 125.0},
{"slug": "kilobits-to-exabytes", "name": "Kilobits to Exabytes", "category": "data", "type": "standard", "teaser": "Turn kilobit throughputs into exabyte orders for analytics.", "labels": {"in1": "Kilobits", "in2": "Exabytes"}, "factor": 1.25e-16},
{"slug": "kilobits-to-gibibytes", "name": "Kilobits to Gibibytes", "category": "data", "type": "standard", "teaser": "Map decimal kilobits onto binary gibibyte tanks.", "labels": {"in1": "Kilobits", "in2": "Gibibytes"}, "factor": 1.1641532182693481e-07},
{"slug": "kilobits-to-gigabits", "name": "Kilobits to Gigabits", "category": "data", "type": "standard", "teaser": "Scale kilobits up to gigabit speeds for telecom comparisons.", "labels": {"in1": "Kilobits", "in2": "Gigabits"}, "factor": 1e-06},
{"slug": "kilobits-to-gigabytes", "name": "Kilobits to Gigabytes", "category": "data", "type": "standard", "teaser": "Convert kilobit streams into decimal gigabytes for storage planning.", "labels": {"in1": "Kilobits", "in2": "Gigabytes"}, "factor": 1.25e-07},
{"slug": "kilobits-to-kibibytes", "name": "Kilobits to Kibibytes", "category": "data", "type": "standard", "teaser": "Express kilobit counts in binary kibibytes for engineering docs.", "labels": {"in1": "Kilobits", "in2": "Kibibytes"}, "factor": 0.1220703125},
{"slug": "kilobits-to-kilobytes", "name": "Kilobits to Kilobytes", "category": "data", "type": "standard", "teaser": "Shift kilobit counts into kilobyte chunks to match file sizes.", "labels": {"in1": "Kilobits", "in2": "Kilobytes"}, "factor": 0.125},
{"slug": "kilobits-to-mebibytes", "name": "Kilobits to Mebibytes", "category": "data", "type": "standard", "teaser": "Compare kilobit totals to binary mebibytes for dataset calculations.", "labels": {"in1": "Kilobits", "in2": "Mebibytes"}, "factor": 0.00011920928955078125},
{"slug": "kilobits-to-megabytes", "name": "Kilobits to Megabytes", "category": "data", "type": "standard", "teaser": "Convert kilobits into decimal megabytes for quick sizing.", "labels": {"in1": "Kilobits", "in2": "Megabytes"}, "factor": 0.000125},
{"slug": "kilobits-to-nibbles", "name": "Kilobits to Nibbles", "category": "data", "type": "standard", "teaser": "Break down kilobits into 4-bit nibbles for low-level work.", "labels": {"in1": "Kilobits", "in2": "Nibbles"}, "factor": 250.0},
{"slug": "kilobits-to-petabytes", "name": "Kilobits to Petabytes", "category": "data", "type": "standard", "teaser": "Project kilobit volumes into petabyte-scale archives.", "labels": {"in1": "Kilobits", "in2": "Petabytes"}, "factor": 1.25e-13},
{"slug": "kilobits-to-tebibytes", "name": "Kilobits to Tebibytes", "category": "data", "type": "standard", "teaser": "Express kilobits as tebibytes for precise infrastructure planning.", "labels": {"in1": "Kilobits", "in2": "Tebibytes"}, "factor": 1.1368683772161603e-10},
{"slug": "kilobits-to-terabytes", "name": "Kilobits to Terabytes", "category": "data", "type": "standard", "teaser": "Convert kilobit throughput into terabyte quantities.", "labels": {"in1": "Kilobits", "in2": "Terabytes"}, "factor": 1.25e-10},
{"slug": "kilobits-to-words-16-bit", "name": "Kilobits to Words (16-bit)", "category": "data", "type": "standard", "teaser": "Frame kilobits in 16-bit words to tie into legacy registers.", "labels": {"in1": "Kilobits", "in2": "Words (16-bit)"}, "factor": 62.5},
{"slug": "kilobits-to-words-32-bit", "name": "Kilobits to Words (32-bit)", "category": "data", "type": "standard", "teaser": "Translate kilobits into 32-bit words for modernization insights.", "labels": {"in1": "Kilobits", "in2": "Words (32-bit)"}, "factor": 31.25},
{"slug": "bits-to-kibibits", "name": "Bits to Kibibits", "category": "data", "type": "standard", "teaser": "Use binary kibibit units when dealing with 1,024-based counts.", "labels": {"in1": "Bits", "in2": "Kibibits"}, "factor": 0.0009765625},
{"slug": "kibibits-to-bits", "name": "Kibibits to Bits", "category": "data", "type": "standard", "teaser": "Translate kibibit counts into bits.", "labels": {"in1": "Kibibits", "in2": "Bits"}, "factor": 1024.0},
{"slug": "bits-to-megabits", "name": "Bits to Megabits", "category": "data", "type": "standard", "teaser": "Describe bitstreams as megabits per second.", "labels": {"in1": "Bits", "in2": "Megabits"}, "factor": 1e-06},
@@ -147,6 +162,21 @@ export const calculators: CalculatorDef[] = [
{"slug": "bytes-to-tebibytes", "name": "Bytes to Tebibytes", "category": "data", "type": "standard", "teaser": "Translate bytes into tebibytes for tape libraries.", "labels": {"in1": "Bytes", "in2": "Tebibytes"}, "factor": 9.094947017729282e-13},
{"slug": "kilobytes-to-kibibytes", "name": "Kilobytes to Kibibytes", "category": "data", "type": "standard", "teaser": "Switch kilobytes into kibibytes for binary storage conversions.", "labels": {"in1": "Kilobytes", "in2": "Kibibytes"}, "factor": 0.9765625},
{"slug": "kibibytes-to-kilobytes", "name": "Kibibytes to Kilobytes", "category": "data", "type": "standard", "teaser": "Translate kibibytes into kilobytes.", "labels": {"in1": "Kibibytes", "in2": "Kilobytes"}, "factor": 1.024},
{"slug": "kibibytes-to-bits", "name": "Kibibytes to Bits", "category": "data", "type": "standard", "teaser": "Expand binary kibibytes into raw bits for low-level storage math.", "labels": {"in1": "Kibibytes", "in2": "Bits"}, "factor": 8192.0},
{"slug": "kibibytes-to-exabytes", "name": "Kibibytes to Exabytes", "category": "data", "type": "standard", "teaser": "Stretch a kibibyte into exabyte terms to describe petascale footprints.", "labels": {"in1": "Kibibytes", "in2": "Exabytes"}, "factor": 1.024e-15},
{"slug": "kibibytes-to-gibibytes", "name": "Kibibytes to Gibibytes", "category": "data", "type": "standard", "teaser": "Compare binary gigabyte buckets with their kibibyte ancestors.", "labels": {"in1": "Kibibytes", "in2": "Gibibytes"}, "factor": 9.5367431640625e-07},
{"slug": "kibibytes-to-gigabits", "name": "Kibibytes to Gigabits", "category": "data", "type": "standard", "teaser": "Convert kibibyte quantities into gigabit bandwidth equivalents.", "labels": {"in1": "Kibibytes", "in2": "Gigabits"}, "factor": 8.192e-06},
{"slug": "kibibytes-to-gigabytes", "name": "Kibibytes to Gigabytes", "category": "data", "type": "standard", "teaser": "Express a kibibyte as a decimal gigabyte for marketing decks.", "labels": {"in1": "Kibibytes", "in2": "Gigabytes"}, "factor": 1.024e-06},
{"slug": "kibibytes-to-kilobits", "name": "Kibibytes to Kilobits", "category": "data", "type": "standard", "teaser": "Translate 1,024-byte kibibytes into 1,000-bit kilobit chunks.", "labels": {"in1": "Kibibytes", "in2": "Kilobits"}, "factor": 8.192},
{"slug": "kibibytes-to-mebibytes", "name": "Kibibytes to Mebibytes", "category": "data", "type": "standard", "teaser": "Roll up kibibytes into mebibytes when migrating binary storage tiers.", "labels": {"in1": "Kibibytes", "in2": "Mebibytes"}, "factor": 0.0009765625},
{"slug": "kibibytes-to-megabits", "name": "Kibibytes to Megabits", "category": "data", "type": "standard", "teaser": "Convert small binary files into megabit-sized descriptors.", "labels": {"in1": "Kibibytes", "in2": "Megabits"}, "factor": 0.008192},
{"slug": "kibibytes-to-megabytes", "name": "Kibibytes to Megabytes", "category": "data", "type": "standard", "teaser": "Translate kibibytes into metric megabytes for reports.", "labels": {"in1": "Kibibytes", "in2": "Megabytes"}, "factor": 0.001024},
{"slug": "kibibytes-to-nibbles", "name": "Kibibytes to Nibbles", "category": "data", "type": "standard", "teaser": "Break kibibytes into 4-bit nibbles for low-level analyzers.", "labels": {"in1": "Kibibytes", "in2": "Nibbles"}, "factor": 2048.0},
{"slug": "kibibytes-to-petabytes", "name": "Kibibytes to Petabytes", "category": "data", "type": "standard", "teaser": "Relate kibibyte counts to fleet-scale petabyte capacities.", "labels": {"in1": "Kibibytes", "in2": "Petabytes"}, "factor": 1.024e-12},
{"slug": "kibibytes-to-tebibytes", "name": "Kibibytes to Tebibytes", "category": "data", "type": "standard", "teaser": "See how Kibibytes stack up against tebibyte-sized vaults.", "labels": {"in1": "Kibibytes", "in2": "Tebibytes"}, "factor": 9.313225746154785e-10},
{"slug": "kibibytes-to-terabytes", "name": "Kibibytes to Terabytes", "category": "data", "type": "standard", "teaser": "Convert Kibibytes into terabytes for cloud migration plans.", "labels": {"in1": "Kibibytes", "in2": "Terabytes"}, "factor": 1.024e-09},
{"slug": "kibibytes-to-words-16-bit", "name": "Kibibytes to Words (16-bit)", "category": "data", "type": "standard", "teaser": "Express Kibibytes as 16-bit words when auditing legacy memory.", "labels": {"in1": "Kibibytes", "in2": "Words (16-bit)"}, "factor": 512.0},
{"slug": "kibibytes-to-words-32-bit", "name": "Kibibytes to Words (32-bit)", "category": "data", "type": "standard", "teaser": "Convert Kibibytes to 32-bit words for modernization roadmaps.", "labels": {"in1": "Kibibytes", "in2": "Words (32-bit)"}, "factor": 256.0},
{"slug": "kilobytes-to-megabytes", "name": "Kilobytes to Megabytes", "category": "data", "type": "standard", "teaser": "Express kilobytes as megabytes for quick summaries.", "labels": {"in1": "Kilobytes", "in2": "Megabytes"}, "factor": 0.001},
{"slug": "kilobytes-to-mebibytes", "name": "Kilobytes to Mebibytes", "category": "data", "type": "standard", "teaser": "Turn kilobytes into mebibytes when power-of-two precision is needed.", "labels": {"in1": "Kilobytes", "in2": "Mebibytes"}, "factor": 0.00095367431640625},
{"slug": "mebibytes-to-kilobytes", "name": "Mebibytes to Kilobytes", "category": "data", "type": "standard", "teaser": "Convert mebibytes into kilobytes.", "labels": {"in1": "Mebibytes", "in2": "Kilobytes"}, "factor": 1048.576},
@@ -158,6 +188,15 @@ export const calculators: CalculatorDef[] = [
{"slug": "terabytes-to-kilobytes", "name": "Terabytes to Kilobytes", "category": "data", "type": "standard", "teaser": "Re-express terabytes as kilobytes.", "labels": {"in1": "Terabytes", "in2": "Kilobytes"}, "factor": 1000000000.0},
{"slug": "kilobytes-to-tebibytes", "name": "Kilobytes to Tebibytes", "category": "data", "type": "standard", "teaser": "Convert kilobytes into tebibytes.", "labels": {"in1": "Kilobytes", "in2": "Tebibytes"}, "factor": 9.094947017729282e-10},
{"slug": "tebibytes-to-kilobytes", "name": "Tebibytes to Kilobytes", "category": "data", "type": "standard", "teaser": "Translate tebibytes into kilobytes.", "labels": {"in1": "Tebibytes", "in2": "Kilobytes"}, "factor": 1099511627.776},
{"slug": "kilobytes-to-bits", "name": "Kilobytes to Bits", "category": "data", "type": "standard", "teaser": "Tally kilobytes in bits to align with bit-oriented specs.", "labels": {"in1": "Kilobytes", "in2": "Bits"}, "factor": 8000.0},
{"slug": "kilobytes-to-exabytes", "name": "Kilobytes to Exabytes", "category": "data", "type": "standard", "teaser": "See kilobytes as exabytes when talking about massive lakes.", "labels": {"in1": "Kilobytes", "in2": "Exabytes"}, "factor": 1e-15},
{"slug": "kilobytes-to-gigabits", "name": "Kilobytes to Gigabits", "category": "data", "type": "standard", "teaser": "Convert kilobytes into gigabit terms for networking narratives.", "labels": {"in1": "Kilobytes", "in2": "Gigabits"}, "factor": 8e-06},
{"slug": "kilobytes-to-kilobits", "name": "Kilobytes to Kilobits", "category": "data", "type": "standard", "teaser": "Reframe kilobytes as kilobits to compare storage with bandwidth.", "labels": {"in1": "Kilobytes", "in2": "Kilobits"}, "factor": 8.0},
{"slug": "kilobytes-to-megabits", "name": "Kilobytes to Megabits", "category": "data", "type": "standard", "teaser": "Express kilobytes as megabits for multimedia throughput.", "labels": {"in1": "Kilobytes", "in2": "Megabits"}, "factor": 0.008},
{"slug": "kilobytes-to-nibbles", "name": "Kilobytes to Nibbles", "category": "data", "type": "standard", "teaser": "Convert kilobytes into nibbles when slicing packets.", "labels": {"in1": "Kilobytes", "in2": "Nibbles"}, "factor": 2000.0},
{"slug": "kilobytes-to-petabytes", "name": "Kilobytes to Petabytes", "category": "data", "type": "standard", "teaser": "Turn kilobytes into petabyte units for massive archive reports.", "labels": {"in1": "Kilobytes", "in2": "Petabytes"}, "factor": 1e-12},
{"slug": "kilobytes-to-words-16-bit", "name": "Kilobytes to Words (16-bit)", "category": "data", "type": "standard", "teaser": "Count kilobytes in 16-bit words for retro system audits.", "labels": {"in1": "Kilobytes", "in2": "Words (16-bit)"}, "factor": 500.0},
{"slug": "kilobytes-to-words-32-bit", "name": "Kilobytes to Words (32-bit)", "category": "data", "type": "standard", "teaser": "Translate kilobytes into 32-bit words for migration planning.", "labels": {"in1": "Kilobytes", "in2": "Words (32-bit)"}, "factor": 250.0},
{"slug": "megabytes-to-gibibytes", "name": "Megabytes to Gibibytes", "category": "data", "type": "standard", "teaser": "Compare megabytes with gibibytes for mixed units.", "labels": {"in1": "Megabytes", "in2": "Gibibytes"}, "factor": 0.0009313225746154785},
{"slug": "btu-to-kilojoules", "name": "BTU to Kilojoules", "category": "energy", "type": "standard", "labels": {"in1": "BTU", "in2": "Kilojoules"}, "factor": 1.05505585},
{"slug": "btuhour-to-watts", "name": "BTU/hour to Watts", "category": "energy", "type": "standard", "labels": {"in1": "BTU/hour", "in2": "Watts"}, "factor": 0.293071},
@@ -715,6 +754,7 @@ export const calculators: CalculatorDef[] = [
{"slug": "maxwell-to-weber", "name": "Maxwell to Weber", "category": "magnetism", "type": "standard", "teaser": "Convert CGS magnetic flux (maxwell) into SI webers.", "labels": {"in1": "Maxwell", "in2": "Weber"}, "factor": 1e-08, "hidden": true},
{"slug": "mbps-to-gbps", "name": "Mbps to Gbps", "category": "other", "type": "standard", "teaser": "Convert megabits per second into gigabits per second.", "labels": {"in1": "Mbps", "in2": "Gbps"}, "factor": 0.001, "hidden": true},
{"slug": "mbps-to-kbps", "name": "Mbps to Kbps", "category": "other", "type": "standard", "teaser": "Convert megabits per second into kilobits per second.", "labels": {"in1": "Mbps", "in2": "Kbps"}, "factor": 1000.0},
{"slug": "kbps-to-gbps", "name": "Kbps to Gbps", "category": "other", "type": "standard", "teaser": "Scale kilobit-per-second stats into gigabit performance metrics.", "labels": {"in1": "Kbps", "in2": "Gbps"}, "factor": 1e-06},
{"slug": "mbps-to-mb-per-second", "name": "Mbps to MB/s", "category": "other", "type": "standard", "teaser": "Convert megabits per second into megabytes per second.", "labels": {"in1": "Mbps", "in2": "MB/s"}, "factor": 0.125},
{"slug": "mebibytes-to-megabytes", "name": "Mebibytes to Megabytes", "category": "data", "type": "standard", "teaser": "Convert mebibytes into megabytes.", "labels": {"in1": "Mebibytes", "in2": "Megabytes"}, "factor": 1.048576},
{"slug": "megabits-to-gigabits", "name": "Megabits to Gigabits", "category": "data", "type": "standard", "teaser": "Convert megabits into gigabits.", "labels": {"in1": "Megabits", "in2": "Gigabits"}, "factor": 0.001},
@@ -2602,16 +2642,16 @@ export const calculators: CalculatorDef[] = [
{"slug": "becquerel-to-rem", "name": "Becquerel to Rem", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Rem"}, "factor": 6.666666666666666e-07},
{"slug": "becquerel-to-roentgen", "name": "Becquerel to Roentgen", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Roentgen"}, "factor": 7.599999999999999e-07},
{"slug": "becquerel-to-sievert", "name": "Becquerel to Sievert", "category": "radiation", "type": "standard", "labels": {"in1": "Becquerel", "in2": "Sievert"}, "factor": 6.666666666666666e-09},
{"slug": "bits-to-exabytes", "name": "Bits to Exabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Exabytes"}, "factor": 1e-19},
{"slug": "bits-to-gibibytes", "name": "Bits to Gibibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Gibibytes"}, "factor": 9.313225746154786e-11},
{"slug": "bits-to-gigabytes", "name": "Bits to Gigabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Gigabytes"}, "factor": 1e-10},
{"slug": "bits-to-kibibytes", "name": "Bits to Kibibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Kibibytes"}, "factor": 9.765625e-05},
{"slug": "bits-to-kilobytes", "name": "Bits to Kilobytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Kilobytes"}, "factor": 0.0001},
{"slug": "bits-to-mebibytes", "name": "Bits to Mebibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Mebibytes"}, "factor": 9.5367431640625e-08},
{"slug": "bits-to-megabytes", "name": "Bits to Megabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Megabytes"}, "factor": 1e-07},
{"slug": "bits-to-petabytes", "name": "Bits to Petabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Petabytes"}, "factor": 1e-16},
{"slug": "bits-to-tebibytes", "name": "Bits to Tebibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Tebibytes"}, "factor": 9.094947017729283e-14},
{"slug": "bits-to-terabytes", "name": "Bits to Terabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Terabytes"}, "factor": 1e-13},
{"slug": "bits-to-exabytes", "name": "Bits to Exabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Exabytes"}, "factor": 1.25e-19},
{"slug": "bits-to-gibibytes", "name": "Bits to Gibibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Gibibytes"}, "factor": 1.1641532182693481e-10},
{"slug": "bits-to-gigabytes", "name": "Bits to Gigabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Gigabytes"}, "factor": 1.25e-10},
{"slug": "bits-to-kibibytes", "name": "Bits to Kibibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Kibibytes"}, "factor": 0.0001220703125},
{"slug": "bits-to-kilobytes", "name": "Bits to Kilobytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Kilobytes"}, "factor": 0.000125},
{"slug": "bits-to-mebibytes", "name": "Bits to Mebibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Mebibytes"}, "factor": 1.1920928955078125e-07},
{"slug": "bits-to-megabytes", "name": "Bits to Megabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Megabytes"}, "factor": 1.25e-07},
{"slug": "bits-to-petabytes", "name": "Bits to Petabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Petabytes"}, "factor": 1.25e-16},
{"slug": "bits-to-tebibytes", "name": "Bits to Tebibytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Tebibytes"}, "factor": 1.1368683772161603e-13},
{"slug": "bits-to-terabytes", "name": "Bits to Terabytes", "category": "data", "type": "standard", "labels": {"in1": "Bits", "in2": "Terabytes"}, "factor": 1.25e-13},
{"slug": "board-feet-to-cord", "name": "Board Feet to Cord", "category": "volume", "type": "standard", "labels": {"in1": "Board Feet", "in2": "Cord"}, "factor": 0.0006510416666666666},
{"slug": "brinell-to-shore-a", "name": "Brinell to Shore A", "category": "other", "type": "standard", "labels": {"in1": "Brinell", "in2": "Shore A"}, "factor": 2.5},
{"slug": "brinell-to-shore-d", "name": "Brinell to Shore D", "category": "other", "type": "standard", "labels": {"in1": "Brinell", "in2": "Shore D"}, "factor": 0.4},
@@ -2874,7 +2914,7 @@ export const calculators: CalculatorDef[] = [
{"slug": "ergs-to-therms", "name": "Ergs to Therms", "category": "energy", "type": "standard", "labels": {"in1": "Ergs", "in2": "Therms"}, "factor": 9.478171226670133e-16},
{"slug": "ergs-to-ton-of-tnt", "name": "Ergs to Ton Of Tnt", "category": "energy", "type": "standard", "labels": {"in1": "Ergs", "in2": "Ton Of Tnt"}, "factor": 2.3900573613766728e-17},
{"slug": "ergs-to-watt-hours", "name": "Ergs to Watt-hours", "category": "energy", "type": "standard", "labels": {"in1": "Ergs", "in2": "Watt-hours"}, "factor": 2.7777777777777777e-11},
{"slug": "exabytes-to-bits", "name": "Exabytes to Bits", "category": "data", "type": "standard", "labels": {"in1": "Exabytes", "in2": "Bits"}, "factor": 1e+19},
{"slug": "exabytes-to-bits", "name": "Exabytes to Bits", "category": "data", "type": "standard", "labels": {"in1": "Exabytes", "in2": "Bits"}, "factor": 8e+18},
{"slug": "exabytes-to-bytes", "name": "Exabytes to Bytes", "category": "data", "type": "standard", "labels": {"in1": "Exabytes", "in2": "Bytes"}, "factor": 1e+18},
{"slug": "exabytes-to-gibibytes", "name": "Exabytes to Gibibytes", "category": "data", "type": "standard", "labels": {"in1": "Exabytes", "in2": "Gibibytes"}, "factor": 931322574.6154785},
{"slug": "exabytes-to-gigabits", "name": "Exabytes to Gigabits", "category": "data", "type": "standard", "labels": {"in1": "Exabytes", "in2": "Gigabits"}, "factor": 8000000000.0},

View File

@@ -344,7 +344,7 @@ def process():
def get_val(k):
if k in units_10: return 10, units_10[k]
if k in units_2: return 2, units_2[k]
if k == 'bit': return 10, -1 # placeholder relative to bytes, though bits are 1/8 byte. Handling simple bytes here only
if k == 'bit': return 2, -3 # bit is 1/8 of a byte (2^-3)
return None, None
b1, e1 = get_val(in1_key)