you are the

sign the guestbook

desktop browser required for terminal access

general

voltage divider

Vout = Vin × (R2 / (R1 + R2)) - leave one field empty to solve

enter 3 values to solve

parallel/series resistors

series: -
parallel: -

standard value finder (e-series)

Nearest standard resistor value to a calculated target - works for any E-series part

nearest: -
next below: -
next above: -

resistor color code

Read the bands left to right with the tolerance band on the right. 3 bands: two digits and a multiplier. 4 bands add tolerance. 5 bands use three digits

resistance: 1.000 kΩ
tolerance: ±5%
range: 950.0 Ω to 1.050 kΩ

divider pair finder (e-series)

Best standard resistor pairs for a target Vout = Vin × R2 / (R1 + R2)

enter Vin and Vout

led current-limit resistor

R = (Vs - Vf) / If, rounded up to E24

exact R: -
E24 value: -
dissipation: -

read more: Useful Discrete Circuits: current sources

rc charge time

Time for a capacitor charging toward Vs to cross Vth: t = -RC × ln(1 - Vth/Vs)

time constant τ: -
time to Vth: -

read more: Op-Amp Cheat Sheet: standard circuits, Capacitor Selection: selection by circuit function

wire gauge (awg)

Copper wire resistance, one-way voltage drop, and rule-of-thumb ampacity (~4 A/mm² bundled, ~10 A/mm² in free air)

diameter: -
resistance: -
voltage drop: -
power loss: -
ampacity (bundled): -
ampacity (free air): -

read more: Connectors and Cables: wire

cable voltage drop

Copper resistance corrected for temperature: R = R20 × (1 + 0.00393 × (T - 20)). Round trip doubles the conductor length. Supply voltage is optional and gives the percentage drop and the voltage at the load

resistance per m: -
total resistance: -
voltage drop: -
power lost in cable: -
drop (% of supply): -
voltage at load: -

read more: Connectors and Cables: wire, Noise in Circuits: grounding

awg wire table

Solid copper at 20 °C. Ampacity columns are the same rules of thumb as the wire gauge calc (4 A/mm² bundled, 10 A/mm² single conductor in free air), not a code rating; use the applicable standard for mains and building wiring

AWGdia (mm)area (mm²)Ω / kmA bundledA free air
08.25153.4750.32213.90534.75
17.34842.4080.41169.63424.08
26.54433.6310.51134.52336.31
35.82726.6700.65106.68266.70
45.18921.1510.8284.60211.51
54.62116.7731.0367.09167.73
64.11513.3021.3053.21133.02
73.66510.5491.6342.20105.49
83.2648.3662.0633.4683.66
92.9066.6342.6026.5466.34
102.5885.2613.2821.0452.61
112.3054.1724.1316.6941.72
122.0533.3095.2113.2433.09
131.8282.6246.5710.5026.24
141.6282.0818.288.3220.81
151.4501.65010.456.6016.50
161.2911.30913.175.2313.09
171.1501.03816.614.1510.38
181.0240.82320.953.298.23
190.9120.65326.412.616.53
200.8120.51833.312.075.18
210.7230.41042.001.644.10
220.6440.32652.961.303.26
230.5730.25866.781.032.58
240.5110.20584.210.822.05
250.4550.1621060.651.62
260.4050.1291340.521.29
270.3610.1021690.411.02
280.3210.0812130.320.81
290.2860.0642680.260.64
300.2550.0513390.200.51
310.2270.0404270.160.40
320.2020.0325380.130.32
330.1800.0256790.100.25
340.1600.0208560.080.20
350.1430.01610790.060.16
360.1270.01313610.050.13
370.1130.01017160.040.10
380.1010.00821640.030.08
390.0900.00627290.030.06
400.0800.00534410.020.05

read more: Connectors and Cables: wire

temperature conversion

°F = °C × 9/5 + 32, K = °C + 273.15

enter exactly one temperature

embedded / digital

i2c pull-up resistors

Rmin from VOL sink current (0.4 V spec), Rmax from rise time: tr = 0.8473 × R × Cb. Standard mode 1000 ns, fast mode 300 ns

Rmin: -
Rmax: -
suggested (E24): -

crystal load capacitors

C1 = C2 = 2 × (CL - Cstray). CL from the crystal datasheet; stray is typically 3-5 pF of pin + trace capacitance

C1 = C2: -
nearest E24: -

read more: Capacitor Selection: selection by circuit function, PCB Layout: placement

adc resolution

LSB = Vref / 2^N, ideal SNR = 6.02N + 1.76 dB (full-scale sine)

LSB: -
levels: -
ideal SNR: -

read more: ADC Front-End: resolution, noise, and ENOB

enob and sinad

ENOB = (SINAD - 1.76) / 6.02 for a full-scale sine. SINAD includes noise and distortion; use SNR alone for the noise-only figure. Quantization noise of an ideal N-bit converter is 1 LSB / √12 RMS

enter SINAD or ENOB

read more: ADC Front-End: resolution, noise, and ENOB

555 timer

Astable: f = 1.44 / ((R1 + 2R2) × C), high = 0.693 (R1 + R2) C, low = 0.693 R2 C, so duty is always above 50 % (add a diode across R2 for less). Monostable: t = 1.1 × R × C

frequency: -
high time: -
low time: -
duty: -

read more: Capacitor Selection: selection by circuit function

ntc thermistor (β equation)

R = R25 × exp(β × (1/T - 1/298.15)) - fill T or R, leave the other empty to solve

enter R25 and β

read more: Useful Discrete Circuits: sensors from ordinary parts

mosfets

junction temperature

P = I² × Rds(on), Tj = Ta + (P × θja)

power: -
Tj: -

read more: MOSFET Crash Course: conduction and switching losses, Thermal Design: the thermal resistance model

switching losses

Psw = Qg × Vgs × fsw, Pcond = I² × Rds(on)

switching: -
conduction: -
total: -

read more: MOSFET Crash Course: conduction and switching losses, gate drive and the Miller plateau

analog

opamp gain/bandwidth product

GBP = Gain × Bandwidth - leave one field empty to solve

enter 2 values to solve

read more: Op-Amp Cheat Sheet: datasheet parameters

opamp gain stage

Non-inverting: G = 1 + Rf/Rg. Inverting: G = -Rf/Rg. Noise gain 1 + Rf/Rg sets the closed-loop bandwidth GBP / noise gain for either topology. Rails and GBP are optional

gain: -
Vout: -
noise gain: -
-3 dB bandwidth: -
output swing: -
input impedance: -

read more: Op-Amp Cheat Sheet: standard circuits, common design errors

gain pair finder (e-series)

Best standard Rf / Rg pairs for a target gain. Keep Rg in the 1 k to 10 k range for most op-amps: lower loads the output, higher adds noise and offset from bias current

enter a target gain

read more: Op-Amp Cheat Sheet: standard circuits

low pass filter (RC)

fc = 1 / (2πRC) - leave one field empty to solve

enter 2 values to solve

read more: ADC Front-End: anti-alias filter design, Capacitor Selection: selection by circuit function

high pass filter (RC)

fc = 1 / (2πRC), same corner as the low pass with C and R swapped. Also the AC-coupling corner for a series cap into a load R. Leave one field empty to solve

enter 2 values to solve

read more: Op-Amp Cheat Sheet: standard circuits

reactance and lc resonance

XL = 2πfL, XC = 1 / (2πfC). An L and C together resonate at f0 = 1 / (2π√LC) with characteristic impedance Z0 = √(L/C), which sets how much the pair rings. Enter any two or all three

enter at least two values

read more: Inductors and Magnetics: self-resonance and high frequency, Capacitor Selection: what a capacitor actually is, Ferrite Beads: resonance with the capacitance around it, PCB Layout: power integrity

sallen-key low pass (2nd order)

Unity-gain, equal-R design: C1 = 4Q² × C2, R1 = R2 = 1/(4πQ × fc × C2). fc is the pole (natural) frequency; the -3 dB point is reported below

R1 = R2: -
nearest E96: -
C1: -
-3 dB frequency: -
step overshoot: -
passband peaking: -
response types, Q, and step response

Q and damping. A second-order low pass is set by its natural frequency fc and its quality factor Q. The damping ratio is ζ = 1 / (2Q). Q below 0.5 gives two real poles and a sluggish, overdamped response; Q = 0.5 is critically damped; Q above 0.5 gives a complex pole pair and a step response that overshoots. Q above 0.707 also peaks the magnitude response near fc. Peaking in dB is 20 log(Q / √(1 - 1/(4Q²))). Step overshoot is exp(-πζ / √(1 - ζ²)). The -3 dB frequency equals fc only for Butterworth; for lower Q it sits below fc, for higher Q above.

Critically damped (Q = 0.5, ζ = 1). No overshoot and the fastest rise that stays monotonic. -3 dB at 0.64 fc. Same alignment as a second-order Linkwitz-Riley crossover and as two identical buffered RC sections. Use for anti-alias or reconstruction stages where any overshoot on a step is unacceptable, at the cost of the slowest rolloff near the corner.

Bessel (Q = 0.577, ζ = 0.866). Maximally flat group delay: all frequencies in the passband are delayed by the same amount, so pulse and square wave shapes pass through with the least distortion. Step overshoot about 0.4 %, -3 dB at 0.79 fc. Gentle magnitude rolloff. Use for data, video, and audio paths where waveform fidelity matters more than a sharp corner.

Butterworth (Q = 0.707, ζ = 0.707). Maximally flat magnitude: no ripple in the passband and the sharpest corner that is still monotonic in frequency. -3 dB exactly at fc. Step overshoot about 4.3 % with a single visible ring. The default choice when the spec is written in terms of a corner frequency and passband flatness.

Chebyshev (Q above 0.707). Trades passband ripple for a steeper transition. The dB label is the allowed ripple; a 0.5 dB design has Q = 0.864, 1 dB has Q = 0.957, 2 dB has Q = 1.129, 3 dB has Q = 1.305. For a single second-order section the ripple appears as a peak of that height near fc. Step response overshoots 11 % (0.5 dB) to 27 % (3 dB) and rings for several cycles. -3 dB sits above fc, at 1.18 fc for 0.5 dB up to 1.39 fc for 3 dB. Use when rejection just past the corner matters and the signal is narrowband or steady state.

Custom Q. Enter any value. Typing in the Q field switches the dropdown to custom. Values above about 5 are impractical in a unity-gain Sallen-Key: C1 = 4Q² × C2 forces a large capacitor ratio, and the response becomes very sensitive to component tolerance and to the opamp's output impedance at high frequency.

Practical limits. Use 1 % resistors and 5 % or better C0G/NP0 capacitors; X7R shifts fc and Q with voltage and temperature. Keep the opamp gain-bandwidth at least 100 × Q × fc so the amplifier does not add its own pole inside the filter. Cascade two sections with different Q values (for example 0.541 and 1.307 for a fourth-order Butterworth) for a higher-order response.

read more: ADC Front-End: anti-alias filter design, Op-Amp Cheat Sheet: standard circuits

dbm / watts / volts

Sine-wave conversions at a given impedance: P = Vrms²/Z, Vpp = 2√2 × Vrms, dBµV = 20 log(Vrms / 1 µV) (so dBµV = dBm + 107 at 50 Ω). Enter one value, leave the rest empty

enter exactly one of dBm / W / Vrms / Vpp / dBµV

db level converter

Two signals at different dB levels. Given a level and value for A, the level of B gives its value (or the reverse). Ratio B/A = 10^(ΔdB / 20) for voltage, 10^(ΔdB / 10) for power. Leave one field empty to solve

enter 3 values to solve the 4th

read more: Oscilloscope Probing: bandwidth, rise time, and sample rate

thermal noise and density to rms

Resistor noise density en = √(4 k T R). Any density (resistor, op-amp, reference) times √bandwidth gives the RMS; ×6.6 is the usual peak-to-peak estimate (99.9 % of Gaussian samples). Leave R empty to use an entered density instead

enter a resistance, or a noise density

read more: Noise in Circuits: intrinsic noise, Op-Amp Cheat Sheet: part selection

battery

battery life calculator

Estimates runtime based on capacity, sleep power, and TX events

runtime: -

battery life from a duty-cycle profile

Average current = Σ(I × t) / Σt over one cycle, runtime = usable capacity / Iavg. Usable % covers cutoff voltage, temperature, and aging; 80 % is a fair starting point for Li-ion, less for alkaline at high drain. Leave a state empty to skip it

enter capacity and at least one state (current and time per cycle)

charge time and c-rate

C-rate = I / capacity (1C empties or fills in one hour). Constant-current time = capacity / I. Li-ion CC/CV adds a constant-voltage tail, typically 30 % more; the estimate here uses 1.3×. Stay within the cell's rated charge C-rate

enter capacity

power supplies

inductor sizing (buck converter)

L = (Vout × (Vin - Vout)) / (Vin × fsw × ΔI)

L: -
peak current: -

read more: Inductors and Magnetics: the two current ratings, SMPS Crash Course: topologies, continuous and discontinuous conduction

inductor sizing (boost converter)

D = 1 - Vin/Vout, L = (Vin × D) / (fsw × ΔIL). Note the inductor carries the input current: IL = Iout / (1 - D)

duty cycle: -
L: -
IL avg: -
IL peak: -

read more: Inductors and Magnetics: the two current ratings, SMPS Crash Course: topologies, continuous and discontinuous conduction

output capacitor (buck converter)

ΔVout = ΔIL × ESR + ΔIL / (8 × fsw × C). ΔIL from the inductor sizing calc above

ESR ripple: -
min C: -

read more: SMPS Crash Course: traps in controller ICs and reference designs, Capacitor Selection: ceramic capacitors

output ripple (boost converter)

The output cap carries the whole load while the switch is on: ΔVc = Iout × D / (fsw × C). The diode current steps to the inductor peak, so ESR adds Ipk × ESR, usually the larger term with electrolytics

duty cycle: -
capacitive ripple: -
ESR ripple: -
total ΔVout: -

read more: SMPS Crash Course: traps in controller ICs and reference designs, Capacitor Selection: aluminum electrolytic capacitors

type ii compensator values

Error amplifier with R2, C1 in series and C2 in parallel, fed from the upper divider resistor R1. Mid-band gain = R2 / R1, zero at 1 / (2π R2 C1), pole at 1 / (2π R2 (C1 ∥ C2)). Enter the crossover to see the phase boost

R2: -
C1: -
C2: -
phase boost at fc: -

read more: SMPS Crash Course: compensation networks, control theory for the loop

flyback converter stresses

Reflected voltage Vr = N (Vout + Vf), Dmax = Vr / (Vin,min + Vr). Switch sees Vin,max + Vr plus the leakage spike; diode sees Vout + Vin,max / N. Lp is the CCM/DCM boundary value at Vin,min; go larger for CCM, smaller for DCM

Vr reflected: -
Dmax: -
switch Vds (no spike): -
diode PIV: -
Lp at boundary: -
primary Ipk (boundary): -
Pin: -
Pout: -

read more: SMPS Crash Course: isolated converters, Inductors and Magnetics: coupled inductors and transformers

rcd clamp (flyback)

Leakage energy ½ L Ipk² each cycle, scaled by Vclamp / (Vclamp - Vr) because the clamp also draws from the reflected voltage. R = Vclamp² / P. C sized for the allowed ripple: C = Vclamp / (ΔV × R × fsw). Aim for Vclamp of 1.5 to 2 × Vr

clamp power: -
R (rate ≥ 2× P): -
C: -

read more: SMPS Crash Course: isolated converters, Inductors and Magnetics: coupled inductors and transformers

linear regulator thermal

P = (Vin - Vout) × I, Tj = Ta + P × θja - the 'do I need a heatsink' check

dissipation: -
Tj: -
Imax @ Tj limit: -
efficiency (max): -

read more: Thermal Design: the board as a heatsink, SMPS Crash Course: the energy picture, Capacitor Selection: selection by circuit function

thermal resistance chain

Tj = Ta + P × (θjc + θcs + θsa). Leave θsa empty and enter a Tj limit to get the heatsink you need. Use θjc from the datasheet, not θja, when a heatsink or copper pour carries the heat

Tj: -
case temp: -
required θsa: -

read more: Thermal Design: the thermal resistance model, external heatsinks

capacitor ripple current / esr heating

P = I²rms × ESR, estimates temperature rise

power: -
ΔT: -
cap temp: -

read more: Capacitor Selection: aluminum electrolytic capacitors, derating summary

rc snubber designer

Measure the switch-node ring frequency (f1), add a test cap and measure again (f2). R = √(Lpar/Cpar), Csnub ≈ 3 × Cpar

parasitic C: -
parasitic L: -
snubber R: -
snubber C: -

read more: PCB Layout: high di/dt and high dV/dt circuits, Oscilloscope Probing: switch node and gate drive

pcb traces & vias

trace width (ipc-2221)

Minimum width for a current and allowed temperature rise: I = k × ΔT^0.44 × A^0.725. Resistance at 20 °C for the computed width

min width: -
resistance: -
voltage drop: -
power loss: -

read more: PCB Layout: routing critical nets, Thermal Design: the board as a heatsink

trace impedance

Calculates characteristic impedance for microstrip or stripline

Z0: -

read more: PCB Stackup: impedance constraints, PCB Layout: the physics that drives everything

trace width for a target impedance

Solves the microstrip / stripline formulas from the trace impedance calc for width. Confirm with the fab's field solver before release; εr and the pressed dielectric thickness are theirs

width: -
w / h: -
validity: -

read more: PCB Stackup: impedance constraints, PCB Layout: routing critical nets

coplanar waveguide impedance (with ground)

Grounded coplanar waveguide: trace of width w with gap s to coplanar ground on each side, over a plane at height h. Conformal-mapping solution (Wadell). Stitch the side grounds to the plane within λ/10 of the highest frequency

Z0: -
εeff: -

read more: PCB Stackup: impedance constraints

differential pair impedance

Edge-coupled pair (IPC-2141 approximation) - for USB, RS-485, Ethernet etc.

Z0 (single-ended): -
Zdiff: -

read more: PCB Stackup: impedance constraints, PCB Layout: routing critical nets

via current / resistance / inductance

Barrel treated as an internal IPC-2221 conductor. L ≈ 0.2 × h × (ln(4h/d) + 1) nH

ampacity: -
resistance: -
inductance: -

read more: Thermal Design: the board as a heatsink, PCB Layout: grounding and the return path, PCB Stackup: drill aspect ratio

trace inductance

Partial self-inductance of a straight trace far from its return path: L ≈ 0.2 l (ln(2l / (w + t)) + 0.5 + 0.2235 (w + t) / l) nH with dimensions in mm. Over a solid plane the loop inductance is much lower; this is the number for a trace with no nearby return, such as a decoupling cap lead

inductance: -
per mm: -

read more: PCB Layout: power integrity

plane capacitance

Parallel-plate C = ε0 εr A / d between two copper planes. Thin power-ground spacing (0.1 mm or less) gives useful high-frequency decoupling with near-zero inductance; at typical 0.2 to 1 mm spacing it is small

capacitance: -
per cm²: -

read more: PCB Layout: power integrity, PCB Stackup: impedance constraints

rise time, bandwidth, and critical length

BW = 0.35 / tr (10 to 90 %). Knee frequency 0.5 / tr is where edge energy runs out. A trace needs transmission-line treatment once its delay exceeds about tr / 6; tr / 2 is the round-trip limit where reflections merge into the edge

enter rise time or bandwidth

read more: PCB Layout: the physics that drives everything, Oscilloscope Probing: bandwidth, rise time, and sample rate

reflection coefficient

Γ = (Z - Z0) / (Z + Z0) at each end. Return loss = -20 log |Γ|, VSWR = (1 + |Γ|) / (1 - |Γ|). With a source impedance the launch step is Z0 / (Zs + Z0) of the driver swing and the first arrival at the load is launch × (1 + ΓL)

ΓL (load): -
return loss: -
VSWR: -
ΓS (source): -
launch step: -
first step at load: -

read more: PCB Layout: routing critical nets, Oscilloscope Probing: coupling, termination, and the input path

creepage & clearance (iec 60664-1, ipc-2221b)

Safety spacing per IEC 60664-1 (clearance from the rated impulse voltage, creepage from working voltage, pollution degree and material group) alongside the IPC-2221B functional spacing table. Tables are as published; the standard and your product standard govern.

enter a working voltage
how the numbers are derived, and definitions

Clearance (shortest path through air) is dimensioned against transients. The rated impulse voltage comes from the supply's nominal line-to-neutral voltage and the overvoltage category (Table F.1), or from the peak working voltage plus 1200 V for circuits that see no mains transients. Table F.2 converts it to a distance for the pollution degree. The distance is also checked against the steady-state peak (Table F.7a) and the larger governs. Above 2000 m the distance is multiplied by the Table A.2 factor. Reinforced insulation uses the next impulse value in the preferred series and 160 % of the steady-state peak.

Creepage (shortest path along the insulating surface) is dimensioned against tracking under long-term working voltage. Table F.4 gives it from the RMS or DC working voltage, the pollution degree and the material group; the printed wiring columns apply to conductors on a printed board under pollution degrees 1 and 2 up to 1000 V. Reinforced insulation doubles the basic value. Creepage may never be less than the clearance. The table is entered at the next higher voltage row; the standard permits linear interpolation between rows.

IPC-2221B Table 6-1 is a design guideline for proper functional operation, not a safety standard. It is entered with peak or DC voltage, gives spacing for internal and external layers with and without coating, and adds a per-volt increment above 500 V. IPC-9592B (computer and telecom power conversion) is slightly more conservative.

Pollution degree. 1: no pollution or dry non-conductive pollution only (sealed, potted, or conformally coated to exclude condensation). 2: non-conductive pollution with occasional condensation (offices, homes, equipment enclosures). 3: conductive pollution, or dry pollution that becomes conductive through expected condensation (industrial, unheated rooms). 4: persistent conductivity from dust, rain or snow; outside the scope of these tables.

Overvoltage category. I: circuits with transient limiting (transformer-fed 24 V controls). II: equipment plugged into the fixed installation (appliances, portable tools). III: fixed installation and distribution (panels, hardwired industrial machinery). IV: origin of the installation (meters, primary overcurrent protection).

Material group by comparative tracking index: I ≥ 600, II 400 to 599, IIIa 175 to 399, IIIb 100 to 174 or unspecified. Most FR-4 is IIIa; isolator IC packages are often group I, which is why the PCB rather than the part sets the creepage.

Product standards refine these values: IEC 62368-1 (audio, video, IT and communications) Tables 10 and 17, IEC 61800-5-1 (drives) Tables 9 and 10, IEC 62109-1 (solar) Tables 13 and 14. Their clearances for a given impulse are somewhat larger (for example 1.8 mm rather than 1.5 mm at 2.5 kV in IEC 62368-1). Conformal coating per IEC 60664-3 can reduce the pollution degree under the coating. Frequencies above 30 kHz are covered by IEC 60664-4.

read more: PCB Stackup: voltage and dielectric spacing, Connectors and Cables: voltage rating, ESD, Surge, and Protection: placement and layout