130+ units across Physics, Chemistry, Engineering, Computing, and more
Select a category to start converting
Enter a value (supports expressions like 25*8+100)
Quick shortcuts for common conversions
Technical Reference
Engineered and documented by Melalew Mengistu, Cybersecurity Researcher and Web Engineer at MELEX IT.
UnitPro performs unit conversion using a factor-based architecture: every unit stores a single multiplication factor relative to a designated base unit for its category. Converting between any two units in the same category involves two steps — normalize the source value to the base unit, then scale to the target unit. For example, to convert 5 megabytes to kilobytes, the engine multiplies by the megabyte-to-byte factor (1,048,576 for binary, 1,000,000 for decimal) then divides by the kilobyte factor. All computation happens entirely in your browser. No values are sent to any server or external service.
Temperature is a special case — it cannot be converted by simple multiplication because its scales have different zero points. The Celsius-to-Fahrenheit formula is °F = (°C × 9/5) + 32, while Kelvin uses absolute zero: K = °C + 273.15. UnitPro handles these with dedicated conversion functions rather than the factor table used for all other categories.
One of the most persistent sources of confusion in computing and networking is the inconsistent use of data size prefixes. The International System of Units (SI) defines prefixes like kilo (k), mega (M), and giga (G) as powers of 10. The International Electrotechnical Commission (IEC) introduced binary prefixes in 1998 to eliminate the ambiguity:
1 KB (SI)
= 1,000 bytes
Used in storage marketing, network throughput specifications (ISPs report speeds in decimal megabits).
1 KiB (IEC)
= 1,024 bytes
Used by operating systems (Windows reports file sizes in KiB but labels them KB), RAM specifications, and most programming APIs.
1 MB (SI)
= 1,000,000 bytes
Hard drive manufacturers use SI, so a "500 GB" drive holds 500,000,000,000 bytes, about 465 GiB as reported by most OS file managers.
1 MiB (IEC)
= 1,048,576 bytes
Memory chips, CPU caches, and virtual memory are always powers of 2, so using MiB removes the ambiguity in low-level system programming.
This distinction matters critically in security contexts: buffer size calculations that confuse binary and decimal kilobytes can lead to off-by-a-small-margin over-reads — while not directly exploitable, they reflect the kind of off-by-one thinking that underlies buffer overflow vulnerabilities. Always confirm which convention a library or API uses when handling memory allocation sizes.
JavaScript uses IEEE 754 double-precision floating-point for all numeric operations. This 64-bit format provides 53 bits of mantissa, giving approximately 15–17 significant decimal digits of precision. Most unit conversions involving small fractions or very large values will accumulate rounding error that is invisible at typical display precision but matters in scientific and engineering calculations.
The classic demonstration is 0.1 + 0.2 === 0.30000000000000004 in JavaScript — because neither 0.1 nor 0.2 has an exact binary representation. For unit conversion tools this means the displayed result should be rounded to a sensible number of significant figures rather than showing all 17 digits. UnitPro rounds results to prevent spurious precision from misleading users.
For financial and cryptographic precision where exact decimal arithmetic is required, JavaScript developers should use BigInt arithmetic or a decimal library (such as decimal.js) instead of native floating-point. Never use floating-point division for computing cryptographic key sizes, bit lengths, or security thresholds — use integer arithmetic exclusively.
Network speeds are specified in bits per second (bps) using SI decimal prefixes, while file sizes are typically in bytes. This produces a conversion that trips up many developers and IT professionals: a 100 Mbps (megabits per second) connection transfers data at 100,000,000 bits/second = 12,500,000 bytes/second ≈ 11.9 MiB/second. The factor of 8 (bits to bytes) combined with the decimal/binary prefix gap means real-world download speeds are always lower than the advertised "100 Mbps" figure when measured in MiB/s.
This matters in security contexts when reasoning about exfiltration rates, backup windows, and network capacity planning during incident response. If a threat actor has compromised a machine on a 1 Gbps internal network and begins exfiltrating data, they can transfer approximately 125 MB/s — meaning a 10 GB database dump completes in roughly 80 seconds even before any compression.
1 Mbps= 125 KB/s (kilobytes per second, decimal)1 Gbps= 125 MB/s ≈ 119.2 MiB/s1 TB/s= 8 Tbps — theoretical maximum of modern 400GbE interfacesBeyond data and networking, UnitPro covers units from electromagnetism, thermodynamics, mechanics, and chemistry. Understanding these conversions is relevant when working with hardware specifications, embedded systems, and IoT security assessments. For example, voltage and current specifications determine whether a hardware device can be powered via USB (5V, max 900mA for USB 3.0 = 4.5W) or requires a dedicated power supply — a consideration when setting up air-gapped security lab hardware.
Pressure units matter in environmental sensor security testing where attacker physical access is a threat model. Energy units (joules, kilowatt-hours) are essential for calculating power consumption in data centers and reasoning about UPS backup durations for critical security infrastructure.