Transistor Base Resistor

Size a BJT base resistor for switching. Enter supply, VBE, load current, and a forced beta to get RB, IB, and power.

How to Use

  1. Choose NPN or PNP (switching style).
  2. Enter the drive voltage (from MCU/logic), base-emitter voltage, and load/collector current.
  3. Pick a forced beta (e.g., 10–20) to ensure saturation.
  4. Review results and “Show Work”. Use Share Link to copy a restorable URL.
Switch View
Base drive → base current → saturation margin.
RB
IB
IC
βforced
Status:
Drive (Vdrive) Rbase BJT Switch Vbe Ic Load Mode toggles NPN/PNP interpretation (calcs unchanged).
Inputs & Settings
All calculations use base units internally (V, A, Ω). Tool works fully client-side.
Usually your MCU/logic output (3.3V, 5V, etc.).
Typical BJT: 0.65–0.9V depending on current.
Use the expected load current through the transistor.
Common for saturation: 10–20 (lower = more base drive).
Optional: limit base current (MCU pin / driver). Leave blank to ignore.
Rounding up reduces base current demand and is often safer for IO limits.
Show Work (step-by-step)
Work is shown using base units for clarity (V, A, Ω, W).

Reference

  • Target base current: IB = IC / βforced
  • Base resistor: RB = (Vdrive − VBE) / IB
  • Resistor power: PR = (Vdrive − VBE) × IB

Tip: Forced beta (10–20) is commonly used to ensure saturation in switch designs.

FAQ

What is “forced beta” and why not use the datasheet hFE?

For switching, you typically overdrive the base to ensure saturation. Datasheet hFE can vary widely; forced beta (like 10) is a conservative design choice.

What Vbe should I use?

Use ~0.7V as a starting point for small BJTs. For higher currents, Vbe may be closer to 0.8–0.9V.

Can I damage an MCU pin with too much base current?

Yes. Use the optional “Max Base Current” field to ensure your design doesn’t exceed what the driver pin can safely provide.

Tool Info

Last updated:

Updates may include additional rounding options, improved edge-case handling, and expanded reference notes.