Embedded Calculators & Part Finder

Size a value with 64 free calculators, then find the real component that fits — in stock, at the best price. For MCU, power, RF & firmware. No account.

📐
PWM / Timer
Frequency, period, duty cycle
📡
UART Baud Rate
Error rate, PASS/FAIL check
📊
ADC Resolution
LSB voltage, SNR, dynamic range
🐕
Watchdog Timer
STM32 IWDG & WWDG timeouts
🎛
I2C Timing
Bus timing & pull-up values
🚌
CAN Bus Bit Timing
STM32 bxCAN/FDCAN & MCP2515
🔌
SPI Timing
Bit period, frame, throughput
🔗
RS-485 Bus
Cable length, termination, bias
🚗
LIN Bus Timing
Bit, break, frame time
🏭
Modbus RTU Timing
Char & inter-frame gaps
🔁
Ring Buffer / DMA
Buffer sizing
🧩
Register Map → C
Bitfield struct & macros
🧾
CRC → C Code
Lookup table & function
⚙️
Stepper Motor
Steps/rev, microstep, pulse rate
🌀
BLDC / PMSM Speed
Motor electrical freq, pole pairs
🎯
Rotary Encoder
Motor encoder counts/rev
🔧
Motor Torque ↔ Power
N·m, RPM, Watts, hp
🔥
MOSFET Power Loss
Conduction & switching loss
🧲
Transformer Turns
Ratio, Ns, current ratio
🔋
LDO Dropout / Power
Heat dissipation & efficiency
🎵
I2S Audio Clock
BCLK, LRCLK, bit period
USB Data Lines
Bit time, 90Ω, termination
🌐
Ethernet Cable
Bit time, delay, 100m limit
🔲
Bit Field Visualizer
32-bit register breakdown
🔢
Q-Format Converter
Float ↔ fixed-point
🧮
Number Base Converter
Dec, Hex, Bin, Oct converter
🔢
IEEE 754 Visualizer
32-bit Float & 64-bit Double
🔄
Endian Swap
Big/Little/Mid-Endian byte swap
📦
Struct Alignment
C struct padding & visualizer
💾
Memory & Transmission
Bytes, baud rate & sample times
🔠
Glyph Mapper
7-Segment & Character LCD custom font generator
💎
Crystal Load Cap
Oscillator load capacitor sizing
Ohm's Law
V, I, R, P — any 2 → all 4
Voltage Divider
Vout, loaded divider, Thevenin
💡
LED Resistor
Series/parallel configs & E24
🎨
Resistor Code
Color bands & SMD decoder
🔺
Op-Amp Gain
Amp configurations & Schmitt
📐
Instrumentation Amp
3-op-amp in-amp gain & Vout
🔻
Op-Amp Resistor
Inverting/Non-inv → R2,R3,R4
🔀
BJT Bias CE
Q-point & stability factor
NE555 Timer
Astable / monostable
🔋
Capacitor Charge
RC time constant, τ milestones
📉
Buck / Boost
Switching regulator design
🔌
AWG Wire Gauge
Wire gauge & voltage drop
🧮
Series / Parallel
R · C · L equivalent value
🔋
LM317 Regulator
Adjustable Vout & R2 solver
Current Divider
Branch currents in parallel R
LC Resonance
LCR resonant freq, Q-factor
RC Filter
Cutoff frequency, gain & phase
🔊
dB Converter
dB, dBm & mW bidirectional
🔄
CRC Calculator
CRC-8/16/32, 7 polynomials
🔄
Checksum / CRC
XOR, Sum8/16, LRC, CRC
🛣️
PCB Trace Calc
IPC impedance & trace width
🎚
Active Filter
Sallen-Key 2nd-order LPF/HPF
📡
RF Trans. Line
Microstrip impedance (IPC-2141)
📶
VSWR / Return Loss
Γ, return & mismatch loss
🛰️
RF Link Budget
FSPL, Rx power, margin
〰️
Wavelength / Antenna
λ, λ/2 dipole, λ/4 whip
📶
Attenuator Pad
T / Pi resistor values (dB)
🌀
Coil Inductance
Air-core solenoid (Wheeler)
🔋
Battery Life
Estimated system run-time
🌡
Temperature
Units & RTD sensor temps
🌉
Wheatstone Bridge
Bridge Vout & balance
🔥
Junction Temp
Thermal Tj & max power
💡

LED Current Limiting Resistor

Find the nearest E24 standard resistor value and power rating to safely drive your LEDs.

Input Parameters
ℹ Series: R = (Vs − (n × Vf)) / If | Parallel: R = (Vs − Vf) / (n × If)
Results
Total LED Voltage Drop
Voltage across R
Exact Resistance
★ E24 Standard Value
Actual Current (with E24)
Power Dissipation
Recommended Resistor Rating
💡 Usage & Formula

LEDs (Light Emitting Diodes) require a series resistor to limit the current, preventing them from burning out due to thermal runaway.

Formulas:

  • Single LED: R = (Vs - Vf) / If
  • Series LEDs: R = (Vs - (N * Vf)) / If
  • Parallel LEDs: R = (Vs - Vf) / (N * If) (Note: matching Vf is required)

Usage: Input your supply voltage, LED forward voltage, and target current. The tool suggests the closest standard E24 resistor and recommends a safe power rating.

When you need it: Any time you drive an LED from a rail higher than its forward voltage — a 5 V MCU pin, a 12 V supply, or a battery. The LED's forward voltage (Vf) is roughly fixed, so the series resistor is what actually sets the current, and therefore the brightness and lifetime. Skip it and the LED draws uncontrolled current and dies from thermal runaway.

Worked example: 5 V supply, a red LED with Vf = 2.0 V, target 15 mA → R = (5 − 2.0) / 0.015 = 200 Ω. The nearest E24 value is 200 Ω. Power dissipated is I²R = 0.015² × 200 ≈ 45 mW, so a common 1/8 W (125 mW) resistor is more than enough.

Tips & gotchas:

  • Vf depends on colour: red ≈ 1.8–2.2 V, green ≈ 2.0–3.0 V, blue/white ≈ 3.0–3.4 V. Use the datasheet Vf at your operating current.
  • Round the resistor up to the next standard value — that keeps you under the target current rather than over it.
  • Modern indicator LEDs are already bright at 1–5 mA; you rarely need 20 mA. Lower current saves power and heat.
  • Series LEDs need a supply above N×Vf; parallel LEDs need matched Vf or an individual resistor per LED.
📖 References: LED circuit (Wikipedia)