FireCADCalc

Transistor Switch Base Resistor (BJT Saturation)

Base resistor to drive an NPN transistor into saturation as a switch from the drive voltage, load current and a forced current gain, with the base current and power.

Inputs

Examples: Illustrative: 3.3 V pin, 150 mA relay at 12 V, forced gain 105 V logic, 500 mA lamp, forced gain 201.8 V logic, 20 mA LED string

Accepted: 0.8 to 50 V
Accepted: 0.001 to 50,000 mA
Accepted: 2 to 100
Accepted: 0.4 to 1.5 V
Accepted: 0.5 to 1,000 V
Accepted: 0 to 2 V

Results

R_B = (V_drive − V_BE)/(I_C/β_forced). A forced gain of about 10 guarantees saturation over temperature and transistor spread; check that the driving pin can source I_B. For inductive loads add a flyback diode.

Base resistor (largest value)0.16667kΩ
Base current15.000mA
Transistor dissipation I_C V_CE(sat) + I_B V_BE42.000mW
Equivalent load resistance (V_CC − V_CE)/I_C78.667Ω

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: Illustrative: 3.3 V pin, 150 mA relay at 12 V, forced gain 10. The inputs, in the units selected above:

InputValue
Drive voltage (logic high)3.3000 V
Collector (load) current150.00 mA
Forced current gain for hard saturation (about 10–20)10.000 -
Base-emitter voltage in saturation0.80000 V
Load supply voltage12.000 V
Collector-emitter saturation voltage0.20000 V

Applying the formula below gives:

ResultValue
Base resistor (largest value)0.16667 kΩ
Base current15.000 mA
Transistor dissipation I_C V_CE(sat) + I_B V_BE42.000 mW
Equivalent load resistance (V_CC − V_CE)/I_C78.667 Ω

Open this example in the calculator and change any input.

Formula

\(I_B = \frac{I_C}{\beta_{forced}}, \quad R_B = \frac{V_{drive} - V_{BE(sat)}}{I_B}, \quad P_T = I_CV_{CE(sat)} + I_BV_{BE}\)

Variables

Symbol Meaning SI unit
\(V_{drive}\) Drive voltage (logic high) V
\(I_C\) Collector (load) current A
\(\beta_{forced}\) Forced current gain for hard saturation (about 10–20) -
\(V_{BE(sat)}\) Base-emitter voltage in saturation V
\(V_{CC}\) Load supply voltage V
\(V_{CE(sat)}\) Collector-emitter saturation voltage V
\(R_B\) Base resistor (largest value) Ω
\(I_B\) Base current A
\(P_T\) Transistor dissipation I_C V_CE(sat) + I_B V_BE W
\(R_{load}\) Equivalent load resistance (V_CC − V_CE)/I_C Ω

Method and standards

Bipolar transistor switch design.

Where it is used

  • Driving relays, LEDs, buzzers and small motors from logic.
  • Level shifting and open-collector outputs.

Common mistakes

  • Designing with typical h_FE so the transistor only half turns on.
  • Forgetting the flyback diode on relay coils.

Assumptions and limits

  • Saturated operation, room-temperature datasheet values.

References

  • Saturated bipolar switch design

Questions and answers

Why not use the datasheet h_FE?

h_FE is for the active region and varies widely; to be sure of saturation, design with a forced gain of 10–20, well below it.

When is a MOSFET better?

For larger currents or when the drive pin cannot supply the base current; a logic-level MOSFET needs almost no steady gate current.

What do the defaults represent?

An illustrative 3.3 V microcontroller pin switching a 150 mA, 12 V relay coil with a forced gain of 10.

Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Sources

Horowitz and Hill, The Art of Electronics, 3rd ed. (Cambridge University Press, 2015), ch. 2

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.