Electronics Engineering / Visual guide & circuit lab
Transistors Explained: Types, Symbols & Circuits
See what transistors actually do, identify NPN, PNP and MOSFET symbols, and learn how to use them as switches and amplifiers—without confusing a device’s threshold with a safe operating condition.
Illustrated symbols Two working calculators Real engineering checks
Jump to a section
What Is a Transistor and What Does It Do?
A transistor controls the electrical behavior of another circuit path. A small base current in a bipolar junction transistor (BJT), or voltage between gate and source in a field-effect transistor (FET), changes the main current. That allows a control circuit to switch a load or to amplify a varying signal.
Switch
Turn a load on or off using a small control signal, such as a microcontroller output controlling a lamp, relay or motor driver.
Amplify
Use a properly biased transistor to make an input variation produce a larger useful current or voltage change in an output circuit.
Compute
Combine billions of MOSFETs into logic gates, memory cells and processors that represent and transform digital information.
Transistors are built from semiconductor material, usually silicon. Semiconductors explains the material physics; this guide focuses on the device and the circuit. Not all transistor families consist of three semiconductor layers: that simplified description applies to a conventional BJT, not to every MOSFET or IGBT.
Transistor Types, Symbols and Terminals
The two families most beginners need first are BJTs and MOSFETs. PNP/NPN and P-channel/N-channel tell you which direction and polarity the control signal uses.
Teaching symbols are simplified to emphasize terminals and control; the N- and P-channel symbols show insulated gates and the P-channel polarity bubble in a common simplified convention. Exact symbols and substrate connections vary; consult your CAD library and device datasheet. A physical TO-92 or TO-220 package does not determine pin order.
| Family | Control | Common uses | Design tradeoff |
|---|---|---|---|
| NPN / PNP BJT | Base current; VBE matters | Amplifiers, low/medium-current switches, signal conditioning | Needs base drive; saturation stores charge |
| N- / P-channel MOSFET | Gate-to-source voltage and gate charge | CMOS logic, power conversion, load switching | Check gate drive, RDS(on), switching and body diode |
| JFET | Reverse-biased gate junction | Low-noise inputs, analog switching, constant-current circuits | Different bias behavior; often depletion-mode |
| IGBT | Insulated gate, bipolar conduction | High-voltage inverters, motor drives, traction | Conduction drop and switching-tail losses; gate driver essential |
How an NPN or PNP BJT Works
A bipolar junction transistor has three terminals: collector, base and emitter. For a typical silicon NPN, raising the base approximately 0.6–0.8 V above the emitter can forward-bias the base–emitter junction. Base current then helps control a larger collector current. At the device level, carriers injected from the emitter pass through the thin base region toward the collector. The required base–emitter voltage varies by current, temperature and device.
Off
Insufficient base–emitter drive. Collector current is small apart from leakage.
Amplify
Collector current follows base drive approximately; the collector needs voltage headroom.
Switch on
The collector–emitter drop is relatively low, but nonzero. Base drive is chosen conservatively.
PNP devices operate with reversed polarities relative to typical NPN arrangements. Both can amplify or switch, but they are not interchangeable simply by swapping labels. For design, check the specified collector current, VCE(sat), allowed base current and thermal ratings.
How MOSFETs Work: Gate Voltage vs Current
An enhancement-mode MOSFET controls the channel between its drain and source using an electric field from the insulated gate. Unlike a BJT, the gate ideally draws almost no steady DC current, but gate capacitance must be charged and discharged during switching. This is why high-frequency or high-power designs often need a driver.
For a typical enhancement N-MOSFET, VGS near 0 V keeps the channel off aside from leakage.
A sufficiently positive VGS creates a low-resistance channel—subject to gate drive, current, heat and datasheet limits.
Threshold voltage is measured at a small specified drain current. For switch design, choose a MOSFET with a guaranteed RDS(on) at your actual available gate-to-source drive (for example, 2.5 V, 4.5 V or 10 V as stated in that device’s datasheet). Exceeding the maximum gate voltage can damage the gate oxide.
N-channel MOSFETs are often convenient low-side switches. P-channel devices are useful for high-side switching when their gate can be driven sufficiently below the source. High-side N-channel switches usually need a gate driver that can provide the correct VGS while the source rises.
Transistor Switch Calculator: BJT Base Resistor & MOSFET Loss
Use these as first-pass educational estimates, not validated production designs. Real transistor choice needs datasheet ratings, pin drive capability, load transients and thermal assessment.
NPN base resistor for a low-side switch
Find the largest approximate base resistor that supplies a conservative target base current.
- Suggested E12
- 330 Ω
- Actual base current
- 7.58 mA
- Collector loss
- 14 mW
A design estimate; check the transistor’s saturation specifications and the controller pin’s current limits.
Method: target IB = IC / forced β and RB = (VCTRL − VBE) / IB. E12 is rounded down to provide at least the assumed drive; the resulting pin current must still be allowed by its datasheet. Avoid this simple approach for PWM/high-speed switching without additional analysis.
MOSFET conduction-loss estimate
See why gate-drive specifications and RDS(on) matter when choosing an N-channel switch.
- Voltage drop
- 0.10 V
- Estimated ΔT
- 10 °C
- Estimated junction temp.
- 35 °C
Illustration only: gate drive is below the 4.5 V RDS(on) test condition, so the displayed estimate is not qualified for 3.3 V.
Limitations: Results assume the entered RDS(on) applies at your actual gate drive and temperature. A datasheet value specified at a different gate drive does not validate this estimate. The illustration excludes switching, gate-drive, diode and transient losses; RθJA depends strongly on the PCB and mounting. Never use this as proof of thermal or electrical safety.
Transistor as a Switch vs Amplifier
Switching
Designed for a clearly off state and a low-loss on state. Examples: an NPN low-side relay driver or a logic-level MOSFET controlling an LED strip.
Amplification
Bias the device in a useful operating region, leaving headroom for the waveform to move without clipping. Used in audio, radio-frequency and sensor circuits.
Amplification is not free energy: the power supply provides the added signal power. A BJT in forward-active operation or a MOSFET in a suitable analog operating region can amplify; driving it into cutoff or saturation may cause clipping. See Analog Electronics for circuit context.
Example: switching a 70 mA relay from a 3.3 V controller
With an assumed VBE of 0.8 V and a forced β of 10, the target base current is 7 mA. The maximum nominal base resistor is (3.3 − 0.8) / 0.007 ≈ 357 Ω; a 330 Ω E12 resistor would draw about 7.58 mA. This is only appropriate if the controller can safely source that current and the transistor meets the load’s saturation ratings. A MOSFET may be preferable when GPIO current is limited.
If a relay coil, solenoid or motor is switched, use appropriate inductive transient protection (such as a correctly oriented flyback diode where suitable). That protection is not optional merely because the transistor is rated for the steady current.
How Transistors Make Digital Logic Possible
Most modern digital integrated circuits use complementary MOS (CMOS) structures with N-channel and P-channel MOSFETs. A simple CMOS inverter uses a P-channel device to pull the output high and an N-channel device to pull it low. The devices are arranged so a steady logic state ideally draws little static current, although leakage and switching still consume power.
Two complementary switches
When the input is low, the P-channel device turns on and the N-channel device turns off, so the output is high. When the input goes high, the opposite occurs and the output becomes low.
| Input | Output |
|---|---|
| 0 (low) | 1 (high) |
| 1 (high) | 0 (low) |
The actual circuits include threshold, propagation delay, dynamic power and leakage. Learn more in Digital Electronics.
Transistor Pinouts, Packages and Ratings
A transistor’s physical package does not prove its pinout. Two devices that look identical may arrange collector/base/emitter or gate/drain/source differently. Check the exact part number and the datasheet’s pin configuration viewed from the correct side before wiring a breadboard or PCB.
| Check | BJT | MOSFET / IGBT |
|---|---|---|
| Voltage | VCEO / breakdown ratings | VDS or VCES and VGS/GE(max) |
| Current | IC, base-drive current and SOA | ID / IC, pulsed ratings and SOA |
| On-state loss | VCE(sat) at specified IC, IB | RDS(on) at specified VGS (MOSFET) or VCE(sat) (IGBT) |
| Drive & speed | hFE, storage time, turn-off behavior | Gate charge, capacitances, drive voltage and switching time |
| Thermal | Power derating, thermal resistance, package | RDS(on) temperature rise, junction rating, package/cooling |
A transistor can satisfy its headline current rating and still fail from inadequate drive, excessive switching loss, avalanche stress, an invalid heatsink assumption, or poor PCB thermal performance. Check the full safe operating area (SOA) when relevant.
How to Test a Transistor and Avoid Common Mistakes
A multimeter’s diode-test mode can help identify the two base junctions of many silicon BJTs when the device is removed from the circuit or otherwise isolated. An NPN often shows a forward diode drop with the positive probe on the base and negative probe on each of the other terminals; a PNP usually requires the reverse polarity. Results can differ with Darlington, protected or unusual devices. Consult the actual datasheet.
MOSFETs are different: their insulated gates are vulnerable to electrostatic discharge. A meter test may reveal an obvious drain–source short or the intrinsic body diode, but it cannot prove that RDS(on), threshold and switching behavior meet design requirements. Use an appropriate test circuit or approved characterization method instead of guessing from a single diode reading.
Check ground reference, base/gate drive, actual pinout, resistor values and whether the control voltage meets the device requirements.
Check collector/drain current, drive level, VCE(sat) or RDS(on), transient stress, switch timing, and PCB/heatsink conditions.
Check floating gates, missing pull-downs, leakage, incorrect high-side drive and unexpected paths through body or protection diodes.
Safety: Remove power and discharge stored energy before resistance or diode tests. Do not connect a meter to unknown mains-powered or high-energy circuits. Follow appropriate ESD procedures for MOSFETs and integrated circuits.
Where Transistors Are Used
Large networks of CMOS transistors form digital logic, storage cells and on-chip signal paths.
Biased transistor stages amplify, buffer, oscillate and condition analog signals.
MOSFETs and IGBTs switch energy in converters, inverters, motor drivers and battery systems.
Small devices control LEDs, relays and interface signals between low-power controllers and external loads.
The appropriate transistor depends on the job. A microcontroller-driven 100 mA load, a precision low-noise amplifier and a high-voltage motor inverter use very different device selection criteria.
Transistor FAQs
What is a transistor in simple terms?
It is a semiconductor component that controls a larger current path using a smaller control input. This allows circuits to switch loads or amplify electrical signals.
What are the three transistor terminals?
A BJT has a base, collector and emitter. A MOSFET has a gate, drain and source. An IGBT has a gate, collector and emitter. Which physical lead corresponds to which terminal depends on the exact part.
What is the difference between an NPN and PNP transistor?
They use opposite base–emitter drive polarities and current directions. In standard BJT symbols, the NPN emitter arrow points outward and the PNP arrow points inward.
Is a MOSFET better than a BJT?
Neither is universally better. MOSFETs often provide efficient voltage-controlled switching with low on-resistance at the right gate drive; BJTs remain useful for amplification and simple small-signal switching. Compare actual datasheet values, drive limits, cost, frequency and load.
Does a MOSFET turn fully on at VGS(th)?
No. VGS(th) is measured at a small stated drain current. Use the RDS(on) specification at the actual available gate drive to evaluate an on-state switch.
Why does a transistor need a base or gate resistor?
A BJT typically needs a series base resistor to control base current and protect the driving output. A MOSFET does not need a resistor to limit continuous DC gate current in the same way, but a series gate resistor can control charging peaks and ringing, and a separate gate-to-source pull-down or pull-up can prevent unintended switching. Values depend on the driver, gate charge, speed and circuit layout.
Can a microcontroller pin drive a transistor directly?
Sometimes. A BJT needs a base resistor and enough output-pin current. A MOSFET gate needs a compatible VGS and may require a resistor, pull-down or driver depending on switching frequency and gate charge. Also check common ground, transients and inductive-load protection.
How do you tell if a transistor is damaged?
Symptoms include unexpectedly low or high resistance between power terminals, abnormal leakage, incorrect voltage response or overheating. Test the part with a safe procedure and datasheet because an in-circuit multimeter result by itself is often inconclusive.
Engineering Sources and Design Limits
This is an educational guide. Actual transistor selection and circuit safety require manufacturer datasheets, the real supply and load characteristics, and appropriate qualified engineering review.
- Analog Devices University — Chapter 8: TransistorsCore BJT / MOSFET behavior and symbols.
- SparkFun — TransistorsIntroduction to NPN, PNP, transistor switches and amplifiers.
- Nexperia AN90001 — Safe, Reliable MOSFET Gate DriveWhy gate threshold is different from full enhancement and RDS(on) conditions.
- Toshiba — What Is an IGBT?IGBT structure and use in power circuits.