If you need to switch a 12V relay from a 5V microcontroller or build a basic audio preamplifier, the Bipolar Junction Transistor (BJT) remains one of the most reliable, cost-effective components on the bench. Unlike MOSFETs, which are voltage-controlled, a transistor BJT is a current-controlled device. The current flowing into the Base pin dictates the current flowing from Collector to Emitter, multiplied by the device's gain (hFE).
While semiconductor physics can get dense, practical circuit design requires actionable defaults. If you are stocking your lab or need a quick replacement, the universal safe defaults are the 2N3904 (NPN, low power), 2N3906 (PNP, low power), and 2N2222 (NPN, medium power). This guide strips away the abstract theory and gives you the exact part numbers, biasing math, and multimeter testing procedures you need to put a BJT to work.
The BJT Roster: Safe Default Part Numbers & Ratings
Before designing a circuit, you must select a transistor that can handle your voltage and current requirements with adequate margin. The table below outlines the most common through-hole BJTs you will encounter. Always check the specific manufacturer's datasheet, as pinouts and exact hFE bins can vary slightly between vendors like ON Semiconductor, Vishay, and STMicroelectronics.
| Part Number | Polarity | Max Vce (V) | Max Ic (mA) | Typical hFE (Gain) | Package | Best Application |
|---|---|---|---|---|---|---|
| 2N3904 | NPN | 40V | 200mA | 100 - 300 | TO-92 | General logic switching, low-current drivers |
| 2N3906 | PNP | 40V | 200mA | 100 - 300 | TO-92 | High-side switching, current mirrors |
| 2N2222 (P2N2222A) | NPN | 40V | 800mA | 100 - 300 | TO-92 / TO-18 | Medium current loads, relay drivers, PWM |
| BC547 | NPN | 45V | 100mA | 110 - 800 | TO-92 | Low-noise audio preamps, sensor amplification |
| TIP120 | NPN (Darlington) | 60V | 5000mA | > 1000 | TO-220 | High-current motors, solenoids, LED strips |
| TIP31C | NPN | 100V | 3000mA | 10 - 50 | TO-220 | High-voltage linear regulators, power switching |
Source: Aggregated from the ON Semiconductor 2N3904 Datasheet and standard industry spec sheets.
Pinout, Symbol, and the Four Operation Regions
A BJT has three terminals: Emitter (E), Base (B), and Collector (C). In schematic symbols, the arrow is always on the Emitter leg. For an NPN transistor, the arrow points outward ("Not Pointing iN"); for a PNP, it points inward.
For standard US/European TO-92 parts like the 2N3904, holding the flat side facing you with legs pointing down yields an E-B-C pinout (Left to Right). However, many popular Japanese audio transistors (like the 2SC1815 or 2SA1015) use an E-C-B pinout in the same physical package. Always verify with a datasheet or multimeter before soldering, or you will instantly short the power supply through the base-emitter junction.
To use a BJT effectively, you must understand which of its four operation regions it is currently in. The voltages below assume a standard silicon NPN transistor at room temperature.
| Operation Region | Base-Emitter Voltage (Vbe) | Collector-Emitter Voltage (Vce) | Collector Current (Ic) | Practical Use Case |
|---|---|---|---|---|
| Cutoff | < 0.5V | Vce = Vcc (Supply) | 0A (Leakage only) | Switch is OFF |
| Active (Linear) | ~ 0.60V - 0.65V | > 0.3V (Typically Vcc/2) | Ic = hFE × Ib | Audio amplifiers, analog signal processing |
| Saturation | ~ 0.70V - 0.80V | < 0.2V (Vce_sat) | Ic < hFE × Ib (Limited by load) | Switch is ON (Relays, digital logic) |
| Reverse Active | < 0V (Reverse biased) | Vbc > 0.5V | Very low (Reverse hFE is ~1-5) | Rarely used; sometimes in TTL logic inputs |
Biasing for the Job: Switch vs. Amplifier
How you bias the Base pin determines whether the transistor acts as a digital switch or a linear amplifier. The most common hobbyist and industrial use case is saturation switching.
Designing a Saturation Switch (12V Relay Driver)
Let's build a circuit to drive a 12V relay using a 5V microcontroller GPIO and a 2N2222 NPN transistor. The goal is to drive the BJT into hard saturation so it drops minimal voltage and dissipates minimal heat.
- Calculate Load Current (Ic): The relay coil has a resistance of 120Ω. At 12V, Ic = 12V / 120Ω = 100mA.
- Find Minimum Base Current (Ib_min): The 2N2222 datasheet guarantees an hFE of at least 100 at 150mA. Ib_min = Ic / hFE = 100mA / 100 = 1mA.
- Apply an Overdrive Factor: To guarantee saturation across temperature variations and part tolerances, multiply Ib_min by an overdrive factor of 5 to 10. Let's use 10. Target Ib = 10mA.
- Calculate Base Resistor (Rb): The GPIO outputs 5V. The Base-Emitter junction drops about 0.7V when saturated.
Rb = (V_gpio - Vbe_sat) / Target Ib = (5V - 0.7V) / 10mA = 430Ω.
Select the nearest standard E12 resistor value: 430Ω or 470Ω. (Using 470Ω yields 9.1mA, which is still plenty of overdrive). - Add a Flyback Diode: Wire a 1N4007 or 1N4148 diode in reverse parallel across the relay coil (cathode to 12V, anode to the Collector). This clamps the inductive kickback when the transistor turns off, preventing voltage spikes from punching through the BJT's Collector-Base junction.
For linear amplifier biasing, the math changes entirely. You must set a DC operating point (Q-point) in the Active region, typically aiming for Vce to sit at exactly half of your supply voltage (Vcc/2) to allow maximum symmetrical voltage swing without clipping the audio signal. This requires a voltage divider on the Base and an Emitter degeneration resistor for thermal stability, a topic covered deeply in our analog audio guides.
Failure Modes and Multimeter Testing
BJTs are rugged, but they have specific failure modes. Thermal runaway occurs when a BJT gets hot, which increases its leakage current, which makes it hotter, until it melts. This is why linear power circuits require emitter resistors or heatsinks. Secondary breakdown happens when high voltage and high current coincide, creating localized hot spots that instantly fuse the silicon. Overcurrent simply melts the tiny internal bond wires.
You can quickly verify a BJT's health using the Diode Test mode on a standard digital multimeter (DMM). Remove the transistor from the circuit first; parallel resistors will give you false readings.
- Set your DMM to Diode Test mode (the symbol with an arrow and a line).
- Place the Red probe on the Base and the Black probe on the Emitter. You should read a forward voltage drop between 0.550V and 0.750V.
- Swap the probes (Black on Base, Red on Emitter). The meter should read OL (Open Loop / Overload).
- Place the Red probe on the Base and the Black probe on the Collector. Expect the same 0.550V - 0.750V forward drop.
- Swap the probes (Black on Base, Red on Collector). Expect OL.
- Test Collector to Emitter in both directions. Both must read OL.
Diagnosis: If any junction reads 0.00V (short) or if C-E reads a low resistance in either direction, the transistor is destroyed and must be replaced. If the forward drops read significantly higher than 0.8V, the internal bond wire may be fractured.
BJT vs. MOSFET: When to Stick with Bipolar
In modern power electronics, MOSFETs have largely replaced BJTs for high-current switching due to their near-zero gate current and lower on-resistance (Rds_on). However, the BJT is far from obsolete. Here is a practical framework for choosing between the two on the workbench.
| Criteria | Bipolar Junction Transistor (BJT) | Metal-Oxide-Semiconductor FET (MOSFET) |
|---|---|---|
| Drive Mechanism | Current-controlled (Requires continuous Base current) | Voltage-controlled (Gate draws virtually zero steady-state current) |
| Low-Current Voltage Drop | Low (Vce_sat is typically 0.1V - 0.2V even at 1mA) | High (Rds_on * I can yield higher drops at microamp levels) |
| Linear / Analog Operation | Excellent (Smooth transconductance, predictable thermal behavior) | Poor (Prone to thermal runaway in linear mode, steep transfer curve) |
| High-Current Switching | Poor (Requires massive base current to saturate; high Vce_sat heat) | Excellent (Milliohm Rds_on, minimal heat, easy to drive with logic) |
| Cost & Availability | Cheapest ($0.02 - $0.10 in bulk, ubiquitous) | Slightly higher ($0.10 - $0.50+ depending on Rds_on and voltage) |
The Verdict: Choose a transistor BJT when you are switching loads under 500mA from a standard logic pin, building analog audio circuits, or designing low-cost consumer electronics where a $0.03 part saves the BOM. Choose a MOSFET (like the IRLZ44N or AO3400) when switching motors, high-power LED arrays, or any load exceeding 1A where continuous base current would waste power and generate unwanted heat.
For deeper reading on semiconductor characteristics and safe operating areas, refer to the Bipolar Junction Transistors chapter on All About Circuits. Always verify your specific circuit's thermal dissipation using the formula P = Vce × Ic, and attach a heatsink if the calculated power exceeds 0.5W for a TO-220 package or 0.1W for a TO-92.






