Home
Unit Converter
Frequency & period, storage, data rate, voltage/current and ADC codes — everyday embedded unit conversions in one place.
Frequency ↔ Period
Enter either side and the other is computed live from T = 1/f. Handy for timer ticks, baud clocks and sample rates.
f
T
Frequency
Hz
1000000kHz
1000MHz
1GHz
0.001Period T = 1/f
s
0.000001ms
0.001μs
1ns
1000Storage Capacity
Embedded memory and flash are strictly binary: 1 KB = 1024 B = 8192 bit.
bit
8192B
1024KB
1MB
0.000976563GB
9.53674e-7TB
9.31323e-10Mind the convention: drive and network labels are decimal (1000-based), so a 128 GB stick shows about 119 GB in the OS.
Data Rate
Bit-based units are strictly decimal (1000-based), and bits differ from bytes by 8: 1 KB/s = 8 kbps.
Common baud rates
bps
115200kbps
115.2Mbps
0.1152Gbps
0.0001152B/s
14400KB/s
14.4MB/s
0.0144GB/s
0.0000144115200 bps UART ≈ 14400 B/s; a 100 Mbps link caps at 12.5 MB/s.
Voltage / Current
1000-based ladders for V / mV / μV and A / mA / μA; results show only the matching dimension.
V
0.001mV
1μV
1000ADC Code ↔ Voltage
Full scale maps as V = code ÷ (2ⁿ − 1) × Vref, matching the STM32 reference manual.
Code → voltage
V
1.6504mV
1650.4μV
16504001 LSB (mV)
0.805861Voltage → code
Code (DEC)
2048Code (HEX)
0x800Exact code
2047.5Number Base Conversion
HEX / DEC / BIN / OCT conversion, two's complement and byte-order views live in the dedicated base converter, with BigInt support.
Open base converter