BJT & MOSFET Calculator
Test transistors with a multimeter, calculate DC gain (hFE/β), AC voltage gain, and design proper biasing circuits for both BJT and MOSFET transistors.
🔧 How to Test Transistors with Multimeter
Learn to identify good vs bad BJT and MOSFET transistors using a digital multimeter in diode test mode.
🔍 Testing NPN BJT Transistor
NPN Pinout
✅ Good Transistor Signs
• B→E and B→C show 0.5-0.8V
• Reverse readings show
OL
• C↔E both directions OL
❌ Bad Transistor Signs
• Any junction shows 0V (shorted)
• All junctions show OL (open)
• C-E
shows low resistance
📊 BJT DC Current Gain (hFE / β) Calculator
Calculate the DC current gain of a BJT transistor from collector and base current measurements.
📖 Understanding DC Gain (hFE)
The DC current gain (β or hFE) indicates how much the transistor amplifies the base current. A transistor with β=100 means 1mA of base current controls 100mA of collector current.
Low Gain (β < 50)
Power transistors, high current applications. Examples: 2N3055, TIP31
Medium Gain (β 50-200)
General purpose transistors. Examples: 2N2222, BC547, 2N3904
High Gain (β > 200)
Darlington pairs, low-signal applications. Examples: MPSA13, BC517
📈 BJT Small-Signal Gain Calculator
Calculate voltage gain and impedance for different BJT amplifier configurations.
Selection Guide: Choose CE for general amplification, CC/Follower for matching high-Z inputs to low-Z outputs, or CB for RF isolation. View Detailed Comparison →
⚡ MOSFET Small-Signal Analysis
Calculate transconductance and gain for MOSFET amplifier configurations.
⚡ Transistor Biasing Calculator
Design stable biasing circuits for BJT and MOSFET amplifiers.
Design Note: Biasing establishes the Q-Point. It ensures your signal stays centered and stable despite temperature changes. Why biasing matters →
Recommended Component Values:
📖 Transistor Theory & Selection Guide
Mastering transistors requires understanding not just how they work, but why we use specific circuits and configurations.
⚡ Why do we need Biasing?
Biasing is the process of setting a fixed DC operating point (known as the Q-Point or Quiescent Point) for the transistor. Without proper biasing:
- The signal will clip: If the Q-point is too close to the supply voltage (Saturation) or Ground (Cutoff), the amplified signal's peaks will be flattened, causes distortion.
- Thermal Runaway: As BJTs heat up, their base-emitter voltage (VBE) decreases (~2mV/°C), causing more collector current for the same base voltage. This extra current generates more heat, creating a destructive positive feedback loop. A properly biased circuit includes an Emitter Resistor (RE) which provides negative feedback: as IC increases → VE rises → VBE effectively drops → IC stabilizes.
- Circuit Consistency: No two transistors (even from the same batch) have identical gain. Biasing techniques like the Voltage Divider Bias make the circuit's performance dependent on resistors, not the unpredictable transistor gain.
📐 Choosing BJT Configurations
The "Common" pin refers to the terminal used for both input and output signals:
- Common Emitter (CE): The "All-Rounder". Provides both high voltage and current gain. Use for: General-purpose amplifiers. (Note: It inverts the signal).
- Common Collector (CC): Also called an Emitter Follower. Voltage gain is ~1, but current gain is high. Use as: A Buffer to drive low-resistance loads (like speakers).
- Common Base (CB): Has low input impedance and high output impedance. Use for: VHF/UHF radio frequency circuits as it eliminates the Miller capacitance effect.
⚖️ BJT vs. MOSFET Selection
Selecting the right tech depends on your load and switching speed:
| Property | BJT | MOSFET |
|---|---|---|
| Control | Current-Based | Voltage-Based |
| Input Z | Low/Mid | Near Infinite |
| Heat Loss | Static (Vce) | Resistive (Rds) |
| Switching | Fast | Ultra-Fast |
🌳 Transistor Selection Decision Tree
• Sensitive
Signal/Audio: Use BJT (Better linearity, lower noise).
•
High Power/PWM: Use MOSFET (Voltage controlled, low heat).
• Yes (Voltage): Use
Common Emitter (BJT) or Common Source (MOSFET).
• No
(Buffering): Use Emitter Follower (CC) or Source Follower (CD).
• 3.3V / 5V GPIO: Use a Logic-Level MOSFET to ensure the transistor fully turns on without high current drain.
🧮 Practical Bias & Application Examples
Example 1: BJT Common Emitter Q-Point
Setup: VCC = 12V, R1 = 47kΩ, R2 = 10kΩ, RC = 2.2kΩ, RE = 1kΩ, β = 100
R1, R2 form a voltage
divider to set VB
RC is the collector load
resistor
RE provides thermal stability via
negative feedback
Step 2: VE = VB − 0.7V = 1.4V
Step 3: IE = VE / RE = 1.4V / 1kΩ = 1.4mA
Step 4: IC ≈ IE = 1.4mA
Step 5: VC = VCC − (IC × RC) = 12 − 3.08 = 8.9V
Step 6: VCE = VC − VE = 8.9 − 1.4 = 7.5V
VCC = IC×RC + VCE + IE×RE.
Every possible operating point for your circuit lies on this line. The Q-point is
where this line intersects the transistor's IB characteristic curve for
your chosen base current.
Example 2: MOSFET Motor Driver (Switching Application)
Goal: Control a 10A DC Motor using a 3.3V ESP32 GPIO.
Q = N-Channel MOSFET (low-side switch)
D1 = Flyback diode (reverse-biased
normally; conducts back-EMF when motor turns off)
10kΩ = Gate pull-down (ensures OFF when MCU
floats)
Step 2: Gate Drive = 3.3V → VGS > Vth(max) ✓
Step 3: Power Loss: P = I² × RDS(on) = 10² × 0.022Ω = 2.2W
Step 4: Add 10kΩ Gate-Source pull-down resistor
Step 5: Add 1N4007 flyback diode across motor terminals
Example 3: BJT Emitter Follower (CC) — Impedance Buffer
Problem: High-Z guitar pickup (1MΩ) driving a low-Z amplifier input (10kΩ).
Input: High-Z signal to Base
Output: Low-Z from Emitter
RE sets the DC operating point
C1 blocks DC, passes AC signal
Input Z: Zin ≈ β × RE = 200 × 10kΩ = 2MΩ
Output Z: Zout ≈ re || (RS / β) → Very Low
Example 4: MOSFET Common Source (CS) — Voltage Amplifier
Setup: VDD = 15V, RD = 470Ω, VGS = 4V, Vth = 2V, k = 5mA/V²
R1, R2 set gate bias
voltage
RD = Drain load (output taken
here)
RS = Source degeneration
(stability)
Step 2: VD = VDD − (ID × RD) = 15 − 9.4 = 5.6V
Step 3: gm = 2 × k × (VGS − Vth) = 2 × 5m × 2 = 20mS
Step 4: Av = −gm × RD = −20mS × 470Ω = −9.4
Example 5: BJT Common Base (CB) — RF/VHF Application
Key Feature: No Miller Effect → Enables high-frequency operation.
Base is at AC ground (via CB)
Input applied to Emitter (low-Z)
Output taken from Collector (high-Z)
No Miller capacitance → Fast!
Input Z: Zin = re = (26mV / IE) = 26 / 1mA = 26Ω (Very Low)
Output Z: High (Same as RC)
Example 6: MOSFET Source Follower (CD) — Power Buffer
Goal: Drive a 100Ω buzzer from a weak microcontroller GPIO.
Drain connects to VDD
Gate receives input signal
Source outputs to load
RLOAD = Load being driven
(buzzer/speaker)
Gain ≈ 1, but high current drive
Input Z: Effectively infinite (>100MΩ)
Output Z: ≈ 1/gm → Very Low
Example 7: MOSFET Voltage Divider Bias — Stable Q-Point
Setup: VDD = 20V, R1 = 1MΩ, R2 = 1MΩ, RD = 2kΩ, RS = 1kΩ, Vth = 4V, k = 2mA/V²
R1, R2 set
VG = 10V
RD = Drain load resistor
RS = Provides thermal stability
via negative feedback
Step 2: VGS = VG − VS = VG − (ID × RS)
Step 3: Solve: ID = k × (VGS − Vth)² → ID ≈ 2.8mA
Step 4: VS = 2.8mA × 1kΩ = 2.8V
Step 5: VD = 20 − (2.8mA × 2kΩ) = 14.4V
Step 6: VDS = VD − VS = 14.4 − 2.8 = 11.6V
💡 Quick Pro-Tips
- Inductive Loads: If using a MOSFET or BJT to drive a relay or motor, always use a flyback diode.
- Heat Dissipation: If your MOSFET is getting hot in a switching circuit, your Gate voltage might be too low. Use a Logic-Level MOSFET for 3.3V/5V microcontrollers.
- High Power DC: MOSFETs are almost always superior for high-power DC switching due to their ultra-low Rds(on) resistance.