Electronics Formulas: Ohm’s Law, Power, Dividers and Time Constants
Find the quantity you need, check which units the formula expects, and compare your numbers with the worked example next to it. Every example is computed from the values shown.
Ohm’s law and power
Each row gives the formula, the units it expects and a worked example with typical values.
| Quantity | Formula | Units and notes | Worked example |
|---|---|---|---|
| Voltage | V = I × R | V, A, Ω | 20 mA × 560 Ω = 11.2 V |
| Current | I = V / R | A, V, Ω | 12 V / 470 Ω = 25.5 mA |
| Resistance | R = V / I | Ω, V, A | 5 V / 20 mA = 250 Ω |
| Power from voltage and current | P = V × I | W, V, A | 5 V × 200 mA = 1 W |
| Power from current and resistance | P = I² × R | W, A, Ω | (500 mA)² × 10 Ω = 2.5 W |
| Power from voltage and resistance | P = V² / R | W, V, Ω | (12 V)² / 470 Ω = 306 mW |
Convert milli and kilo prefixes to base units first, or keep them paired: mA with kΩ gives volts.
Series and parallel networks
Resistors and inductors add in series; capacitors add in parallel. The other connection uses the reciprocal form.
| Component | In series | In parallel | Worked example |
|---|---|---|---|
| Resistors | Rs = R1 + R2 + … | Rp = 1 / (1/R1 + 1/R2 + …) | 1 kΩ and 3.3 kΩ: 4.3 kΩ in series, 767 Ω in parallel |
| Capacitors | Cs = 1 / (1/C1 + 1/C2 + …) | Cp = C1 + C2 + … | 10 µF and 47 µF: 8.25 µF in series, 57 µF in parallel |
| Inductors | Ls = L1 + L2 + … | Lp = 1 / (1/L1 + 1/L2 + …) | 10 mH and 47 mH: 57 mH in series, 8.25 mH in parallel |
For two parts use X1 × X2 / (X1 + X2) for the reciprocal form; n equal parts give X / n. The inductor formulas assume no magnetic coupling between the coils.
Dividers and LED resistor
R2 is the resistor on the output side of the voltage divider, and I1 is the current through R1 in the current divider.
| Quantity | Formula | Units and notes | Worked example |
|---|---|---|---|
| Voltage divider | Vout = Vin × R2 / (R1 + R2) | Output taken across R2 to ground; a load in parallel with R2 lowers it | 12 V × 4.7 kΩ / (10 kΩ + 4.7 kΩ) = 3.84 V |
| Current divider | I1 = Itotal × R2 / (R1 + R2) | Two parallel branches; the smaller resistor takes the larger share | 100 mA × 330 Ω / (100 Ω + 330 Ω) = 76.7 mA |
| LED series resistor | R = (Vs − Vf) / If | Vs supply, Vf LED forward voltage (about 2 V for red), If LED current; round up to a standard value | (5 V − 2 V) / 10 mA = 300 Ω |
Time constants, energy and reactance
Frequency f is in hertz; the formulas for reactance and resonance return ohms and hertz directly.
| Quantity | Formula | Units and notes | Worked example |
|---|---|---|---|
| RC time constant | τ = R × C | s, Ω, F; the capacitor reaches 63.2% of the final voltage after 1 τ and 99.3% after 5 τ | 10 kΩ × 100 µF = 1 s |
| RL time constant | τ = L / R | s, H, Ω; the current reaches 63.2% of its final value after 1 τ | 10 mH / 100 Ω = 100 µs |
| Capacitor energy | E = ½ × C × V² | J, F, V | ½ × 470 µF × (12 V)² = 33.8 mJ |
| Inductor energy | E = ½ × L × I² | J, H, A | ½ × 10 mH × (2 A)² = 20 mJ |
| Capacitive reactance | Xc = 1 / (2πfC) | Ω, Hz, F; falls as frequency rises | 1 / (2π × 1 kHz × 1 µF) = 159 Ω |
| Inductive reactance | XL = 2πfL | Ω, Hz, H; rises with frequency | 2π × 1 kHz × 10 mH = 62.8 Ω |
| Resonant frequency | f0 = 1 / (2π√(LC)) | Hz, H, F; the frequency where Xc = XL in an LC circuit | 1 / (2π√(10 mH × 1 µF)) = 1.59 kHz |
Battery runtime and energy
| Quantity | Formula | Units and notes | Worked example |
|---|---|---|---|
| Runtime | t = capacity / I | h, Ah, A (or mAh with mA); an ideal figure, real runtime is shorter | 2000 mAh / 50 mA = 40 h |
| Energy | E = V × Ah | Wh, V, Ah; 1 Wh = 3600 J | 3.7 V × 2.5 Ah = 9.25 Wh |
Real runtime falls with higher discharge current, low temperature and a high cut-off voltage. Cells in series add voltage, cells in parallel add capacity.
Frequently asked questions
How do I calculate resistors in parallel?
Take the reciprocal of the sum of the reciprocals: Rp = 1 / (1/R1 + 1/R2 + …). For two resistors this is R1 × R2 / (R1 + R2), and n equal resistors give R / n, so two 1 kΩ resistors make 500 Ω. The result is always lower than the smallest resistor.
What is the voltage divider formula and when does it fail?
Vout = Vin × R2 / (R1 + R2). With 12 V across 10 kΩ and 4.7 kΩ, the junction sits at 3.84 V. It only holds while the load draws little current: keep the load resistance at least ten times R2, or the output sags.
How long will my battery last?
Divide the capacity by the average current: 2000 mAh / 50 mA = 40 h in theory. Expect noticeably less in practice, because usable capacity drops with higher current, cold and a high cut-off voltage.