Elektronik Atölyem

MOSFET or BJT?

Should you use a MOSFET or a BJT as a switch? Drive method, losses, speed and cost compared, common mistakes, and an in-browser simulator.

Short answer

If you're switching loads above a few hundred milliamps, choose a MOSFET: it's voltage-driven and barely warms up when on. For small signals, LEDs, relay coils and cheap simple circuits, a BJT is still the most practical choice.

Comparison

BJT (e.g. BC547, 2N2222, TIP120)MOSFET (e.g. IRLZ44N, AO3400)
How is it controlled?By current: the base needs a continuous current to stay onBy voltage: apply a voltage to the gate; it draws no steady current
Loss when onRoughly fixed voltage drop: VCE(sat) ≈ 0.2–1 V → loss ≈ I × VCEBehaves like a resistor: loss = I² × RDS(on); RDS(on) can be a few mΩ
Typical heating at 5 ASeveral watts: needs a heatsinkOften under 0.5 W with a logic-level MOSFET
Driving from a microcontrollerDirectly through a base resistor; pin current is limited (≈20 mA)Directly if logic-level; otherwise needs a driver or 10 V
Switching speedModerate; slow to come out of saturationFast; suited to PWM and DC-DC converters
Sensitivity to staticLowHigh: the gate oxide can be punctured
Cost and availabilityVery cheap, everywhereCheap; you need to pick the right type

Choose a BJT if…

  • ✓The load is under a few hundred mA (LED, small relay, buzzer)
  • ✓You're doing analog amplification (audio, sensor signals)
  • ✓You only have common parts like the BC547 / 2N2222

Choose a MOSFET if…

  • ✓The load is 1 A or more (motor, LED strip, heater)
  • ✓You're adjusting speed or brightness with PWM
  • ✓Heating and losses matter in a battery-powered circuit

Common mistakes

Try it: which MOSFET fully turns on at 5 V?

Compare three common MOSFETs with the same load, drop the gate voltage to 3.3 V and see how the heating changes.

Open the simulator full page →

Learn the topic in depth

More guides