Ohm's law
- current through the resistorA
- voltage across the resistorV
- resistanceΩ
Applies: Resistors. Volts over kilohms gives milliamps.
Careful: V is the difference across the part, not a node voltage. LEDs and diodes don't obey it.
Formula sheet
Circuit laws, component equations, time constants and power, by unit.
Applies: Resistors. Volts over kilohms gives milliamps.
Careful: V is the difference across the part, not a node voltage. LEDs and diodes don't obey it.
Applies: Any part, with both values for that part. Keep a resistor under half its rating (common through-hole parts are 1/4 W).
Applies: Measured under load. A fresh alkaline AA is about 0.15 Ω, a 9 V battery about 1.5 Ω.
Careful: A bench supply's current limit is a ceiling, not a target.
Move the red lead back to the V jack after every current measurement.
| Mode | Goes | Inside | Wrong place does |
|---|---|---|---|
| volts | across the part | about 10 MΩ | in series, current drops to µA |
| amps | in series, loop opened | about 2 Ω | across a part, shorts it and blows the fuse |
Applies: Series share one current; parallel branches share one voltage. Two in parallel give , and N equal ones give .
Careful: Parallel resistance is below the smallest branch.
Applies: Unloaded. The ratio sets the voltage; the size sets the current, .
Careful: A load at OUT pulls it down; a divider can't power an LED.
Seen from OUT, a divider is its unloaded voltage behind . A load 10× that reads about 9 % low; 100× about 1 %. To measure the output resistance, find the load that halves OUT.
Applies: Find r from two readings, . A 3.3 V MCU pin is about 25 Ω.
Careful: A meter at rest draws nothing, so it can't see r; test a battery under load.
At or below an input reads 0; at or above it reads 1. For many 3.3 V CMOS parts that is 0.99 V (30 %) and 2.31 V (70 %). In between nothing is promised. A Schmitt-trigger input switches up and down at different voltages, so noise smaller than the gap can't flip it.
Careful: A 3.3 V output isn't a guaranteed 1 for a 5 V input with = 3.5 V.
Applies: Always. The net charge is zero; what it holds is energy. Double V, four times the energy.
Applies: Current flows while the voltage changes. 1 mA into 100 µF ramps 10 V/s.
Careful: No charge crosses the gap, and the current stops when the voltage holds still.
Applies: kΩ × µF = ms. It reaches 63 % at 1τ, 86 % at 2τ, 95 % at 3τ and 99.3 % at 5τ.
Careful: τ is not the time to charge.
Applies: Charging from empty. Halfway takes 0.69τ, not 0.5τ.
Applies: A conservative rule that ignores hysteresis. A Schmitt input lets a smaller RC work.
Applies: Always. At switch-on the current starts climbing at ; settled, a coil passes DC and drops 0 V.
Careful: A coil's current can't jump.
Applies: mH over Ω = ms; the same 63 % / 86 % / 95 % / 99.3 % table as RC.
Careful: A bigger R makes an RL circuit faster, unlike RC.
Cut a coil's current and it pushes that current through whatever path is left; through a resistor R the peak is . A flyback diode across the coil, stripe toward +V, clamps the switch node one drop above the supply at the cost of a slower release.
Careful: A diode across the switch does nothing for the spike.
Applies: Little series resistance. A step overshoots toward twice its size; series resistance damps it.
Applies: Sines only. 230 V mains peaks at 325 V.
The period is divisions per cycle times time/div, and . Height is divisions times V/div. Set the scope's probe setting to match a ×10 probe, or every reading is 10× off.
Applies: Sine waves; use either like a resistance for peak (or RMS) values.
Applies: Two traces at the same frequency. A capacitor's current leads by 90°; a coil's lags by 90°.
Applies: Voltage ratios. Stages in a row add their dB.
Careful: −3 dB is 0.707 of the voltage (half the power), not half the voltage.
A 1N4148's current grows about ×10 for every extra 0.11 V; 0.61 V at 1 mA, 0.90 V at 100 mA. "0.7 V" is only the value at a few mA, and Vf falls about 2 mV/°C as it warms.
Applies: Plenty of headroom. 5 V and 150 Ω give red 20 mA.
Careful: With under about 1 V of headroom the formula can be off by several times.
Applies: The capacitor feeds the load between peaks. It errs on the safe side; size and round up.
R1 supplies ; the load takes what it needs and the zener the rest. Size R1 for full load plus about 1 mA, round down, then check zener power with no load.
Careful: When the load wants more than R1 supplies, the zener drops out.
Heat is ; at 1 A a 1N4007 drops about 0.94 V and an SS14 about 0.48 V. Schottkys leak far more and block less. Low voltage and high current suit a Schottky; mains, heat or µA budgets suit silicon.
Applies: Vce stays above about 0.2 V.
Careful: Once β × Ib asks for more than the load allows, the transistor saturates and the load sets Ic.
Applies: Forced β ≈ 10 for a switch; round down and keep the pin under its 20 mA.
Careful: Size the base for the worst part; β falls at high current.
Applies: Fully on. Temperature rise is watts times the package's °C/W.
Careful: Partly on is worst. From a 3.3 V pin, pick a logic-level part with Rds(on) listed at 2.5 V.
An N-MOSFET goes between the load and ground, source on ground, so Vgs is the pin's full voltage. On the high side the source rises with the load. Add 10–100 kΩ from gate to source.
Applies: No feedback (a comparator), and only while the output is between its rails.
With negative feedback and the output not at a rail, . Nothing connects the inputs; they draw nanoamps.
Careful: Once the output clips, the loop is broken and the inputs separate.
Largest clean input is rail ÷ gain. An inverting stage needs a negative rail.
| Stage | Gain | Source sees |
|---|---|---|
| non-inverting | the + input, nanoamps | |
| inverting | Rin to a virtual ground | |
| follower | 1 | the + input, nanoamps |
Careful: Rf = Rg is ×2, not ×1.
Applies: Gain is . At 1 MHz, ×11 corners near 91 kHz; split high gain over two stages.
Applies: Unloaded output. At the output is 0.707 of the input, −3 dB.
Careful: −3 dB is not half.
Well above the corner, a first-order gain is about .
| Above | 1 pole | 2 poles |
|---|---|---|
| ×10 | −20 dB, ×0.1 | −40 dB, ×0.01 |
| ×100 | −40 dB, ×0.01 | −80 dB, ×0.0001 |
Applies: A high-pass into an input resistance; round up.
Applies: 50 % duty and well below the PWM frequency. Settling within 1 % takes 5τ.
Applies: Series RLC at ; L and C each carry Q times the input.
Careful: Check the capacitor's voltage rating.
Two identical unbuffered RCs load each other and the corner falls well below . Buffered by a follower, each keeps its own response and the pair is −6 dB at .
Applies: Any tone above the Nyquist frequency .
Careful: No firmware filter can remove an alias; filter before the ADC.
Applies: An ideal n-bit ADC; code = Vin / LSB rounded down, read back as . 12 bits at 3.3 V is 0.806 mV.
Bits set the step size. Accuracy also depends on reference error (a share of the reading), noise (averaging N readings divides it by ) and INL. Add them in LSB for a worst-case budget.
Here , with a few pF.
| Bits | Time needed |
|---|---|
| 8 | 6.2 τ |
| 10 | 7.6 τ |
| 12 | 9.0 τ |
Applies: An RC after a PWM pin. 16 MHz at 1 kHz gives 16,000 steps.
Careful: Raising cuts ripple and steps together.
Runtime is capacity at your load divided by the load. An alkaline AA rated 2,500 mAh at 25 mA gives about 994 mAh at 1 A. Series cells add volts, not amp-hours.
Applies: Any LDO above its dropout. 12 V to 3.3 V at 100 mA is 27.5 % efficient.
Applies: Steady state. Design to the operating limit, often 125 °C.
Careful: The front-page current rating is a ceiling, not what the package can shed.
Applies: Power carries over, not current. 12 V to 3.3 V at 1 A and 90 % draws 0.31 A.
Compare battery current. An LDO draws ; a buck draws . Asleep at µA the LDO often wins; a buck with no light-load mode is poor at mA loads. Pick an LDO for a quiet rail.
Unfried · getunfried.com/formulas/concepts