To use a BJT as an on/off switch you must drive it hard into saturation, not just the active region. The minimum base current is IC/β, but because β varies and drops at high current, designers multiply by an overdrive factor (ODF) of 2–10 to guarantee a low, stable VCE(sat).
| Quantity | Formula |
|---|---|
| Minimum base current | IB(sat) = IC / β |
| Actual base drive | IB = ODF × IC / β |
| Base resistor | RB = (Vdrive − VBE) / IB |
| On-state dissipation | Pon = VCE(sat) × IC |
Choose the nearest standard resistor at or below the calculated RB so the base gets at least the intended current. Always add a freewheeling diode across inductive loads (relays, motors).
Instead of amplifying, the transistor is driven either fully off (cutoff, open switch) or fully on (saturation, closed switch) to turn a load on and off, like a relay controlled by a small signal.
It sets the base current. Without it the base-emitter junction looks like a forward diode and would draw destructive current from the driving pin.
A multiplier (typically 2–10) applied to the minimum base current IC/β. It guarantees the transistor stays hard in saturation despite β variation and its drop at high current.
Use the datasheet minimum hFE at your collector current, not the typical value. β falls at high current, so designing for the minimum keeps the switch reliable.
Rounding down gives slightly more base current, keeping the transistor firmly saturated. Rounding up could under-drive it and cause overheating.
The collector-emitter voltage when fully on (~0.1–0.3 V for small BJTs). It sets the on-state power loss VCE(sat)×IC and how much the transistor heats.
Yes, for any inductive load (relay, motor, solenoid). A diode across the load absorbs the voltage spike when the transistor turns off, protecting it from damage.
For higher currents (above ~0.5 A) or where you want almost no drive current, a logic-level MOSFET is usually better — it has very low on-resistance and is voltage-driven.
Through the base resistor, yes. The pin only needs to supply the base current (a few mA), while the transistor handles the larger load current.
Usually it is not fully saturated (too little base current) so VCE is high, or the load current exceeds its rating. Increase the overdrive factor or pick a bigger device.
A Darlington has very high β so it needs little base current, but its VCE(sat) is higher (~0.7–1 V), meaning more heat. Good for high-current, low-frequency switching.
The same currents apply; only the polarity and the way you reference the base drive change (a PNP high-side switch is turned on by pulling the base below the emitter).
A BJT switches DC. For AC, use a relay driven by the transistor, or a triac/solid-state relay designed for AC loads.
BJT Biasing Calculator • LED Series Resistor • MOSFET Power Loss • All Calculators