BJT Simulator
Two tools in one: sweep Vin to explore cutoff / active / saturation operating regions, then tune β and temperature to see how different biasing schemes maintain — or lose — the Q-point.
BJT as a Switch
Drive an NPN BJT from cutoff through active to saturation by sweeping Vin. Watch VCE, IC, and the LED brightness respond in real time.
below ~0.5 V — base–emitter junction not yet forward-biased. , , LED off.
Fixed: = 100, = 0.7 V, = 0.2 V, ≈ 1.8 V. Saturation kicks in when exceeds ≈ 3.00 mA.
Q-point Stability (Biasing)
Compare voltage-divider bias (VDB) against fixed bias. Sweep β or temperature and watch the Q-point dot move — or stay put.
Voltage-divider bias is stable because provides DC negative feedback: if tries to rise, the emitter voltage rises, drops, and the rise is opposed. Fixed bias has no such feedback — tracks directly.
BJT fundamentals
A Bipolar Junction Transistor (BJT) is a current-controlled device: a small base current IB controls a much larger collector current IC. The ratio β (hFE) = IC / IB is typically 50–300 but varies with temperature and operating point — never design a circuit that depends on an exact β value.
Three operating regions
- Cutoff: VBE < 0.6 V — transistor off, IC ≈ 0.
- Active: VBE ≈ 0.7 V, VCE > VCE(sat) — amplifier region, IC = β × IB.
- Saturation: both junctions forward-biased — transistor fully on, VCE(sat) ≈ 0.2 V.
Voltage-divider bias
Voltage-divider bias (VDB) sets the Q-point using a resistor divider at the base, independent of β. If the divider current is ≥ 10 × IB, the Q-point is stable across transistor variations and temperature — the standard approach for analog amplifier stages.
Learn more → BJT Amplifier — Learn
Quick experiments
- Walk through all three regions. Sweep base current from zero. At 0 the transistor is in cutoff; a small current puts it in the active region where Ic = β·Ib; push further and Vce collapses to a few hundred millivolts — saturation.
- Design a saturated switch. For 100 mA of collector current, use a forced β of 10 and drive 10 mA into the base. From 5 V that needs (5 − 0.7)/10 mA ≈ 430 Ω. Use 390 Ω and it saturates with margin.
- Watch β betray you. Change β from 100 to 300 with the bias fixed by a single base resistor. The Q-point moves dramatically. Add an emitter resistor and the same β change barely shifts it.
- Measure the cost of saturation. At Vce(sat) ≈ 0.2 V and 100 mA, the transistor burns 20 mW. Scale to 1 A and it is 200 mW — the point where a MOSFET with milliohm on-resistance becomes the better switch.
- Push it toward thermal runaway. Raise the temperature with no emitter resistor: Vbe falls about 2 mV/°C, so Ic rises, which heats it further. The emitter resistor is what breaks that loop.
Formula reference
- Current gain in the active region
Only valid in the active region — not in saturation.
- Emitter current
Emitter carries both collector and base current.
- Base resistor for a saturated switch
Use a forced β of about 10, never the datasheet β.
- Power dissipated in the transistor
Worst in the active region; small in cutoff and saturation.
| Symbol | Meaning | Unit |
|---|---|---|
| DC current gain (hFE) | — | |
| Base-emitter drop, about 0.7 V when conducting | V | |
| Collector-emitter drop in saturation | V | |
| Collector current | A |
Common mistakes
Sizing the base resistor with the datasheet β.
Datasheet β is a typical active-region figure that varies 3:1. For a switch use a forced β of about 10 so the transistor saturates even on a low-gain sample.
Applying Ic = β·Ib in saturation.
Once saturated, collector current is set by the load, not by β. Extra base current changes nothing except making it harder to turn off.
Leaving out the emitter resistor in an amplifier.
Without emitter degeneration the Q-point depends on β and temperature, so it drifts between samples and warms into distortion. An emitter resistor sets the operating point with resistor ratios instead.
Driving an inductive load without a flyback diode.
Interrupting coil current forces the collector voltage to spike far beyond the supply, breaking down the transistor. A reverse diode across the coil clamps it.
Forgetting the 0.7 V base-emitter drop.
Base current is (Vin − 0.7) divided by the base resistor, not Vin divided by it. Driving from 3.3 V, ignoring the drop overestimates base current by more than 20 %.
Frequently asked questions
What are the three operating regions of a BJT?
Cutoff, where both junctions are reverse biased and no current flows; active, where the base-emitter junction is forward biased and collector current is beta times base current; and saturation, where both junctions conduct and the transistor behaves like a closed switch.
How do I choose a base resistor to saturate a transistor?
Work out the collector current the load needs, divide by a forced beta of about 10 to get base current, then size the resistor as (Vin − 0.7) divided by that base current. Using the datasheet beta instead leaves the transistor in the active region where it dissipates heat.
Why is Vce not zero in saturation?
A saturated transistor still drops a saturation voltage, typically 0.1 to 0.3 V for small-signal parts. That drop times the collector current is the switching loss, which is why MOSFETs with milliohm on-resistance are preferred for heavy loads.
Why does beta vary so much between transistors?
Beta depends on manufacturing spread, collector current and temperature, and can vary three to one within the same part number. Reliable designs use emitter degeneration or feedback so the operating point is set by resistors, not by beta.
What is thermal runaway in a BJT?
As a transistor heats, its base-emitter voltage falls and collector current rises, which produces more heat. Without an emitter resistor or thermal feedback the cycle escalates until the device fails.
Related tools
FET Simulator
JFET (Shockley) and MOSFET (square-law) transfer and output curves side by side.
Open →Op-Amp Calculator
9 configurations — gain formula, circuit schematic, and live waveform in one card.
Open →Transistor Bias Explorer
DC bias → small-signal equivalent — hybrid-π (BJT) and FET models with Q-point coach.
Open →CE / CS Amplifier Bench
Design a common-emitter or common-source stage — bias, load line, gain, impedance.
Open →Differential Pair Playground
Sweep the differential input and watch current redistribute — gains and CMRR live.
Open →Diode Lab
I-V plotter, half-wave, full-wave (bridge / center-tapped) — one widget.
Open →Browse the full circuit toolkit or start a guided lesson in topics.