Communica

2N2222A vs 2N3904 Comparison: Which NPN Transistor Suits Your Project?

Compare 2N2222A and 2N3904 NPN transistors: specs, calculations, wiring examples, and South Africa sourcing tips for makers, students, and engineers.

sensors and semiconductors
January 11, 2026
5 min read

Current Capacity

2N2222A handles higher collector currents than 2N3904.

Use Cases

Choose 2N3904 for small-signal work, 2N2222A for heavier switching.

Local Practicalities

Check stock, packaging, and pinouts at local branches before buying.

Overview: Why this comparison matters

The 2N2222A and 2N3904 are two of the most common small-signal NPN transistors found in hobbyist kits, university labs, and industry prototyping. While both are general-purpose NPN devices, subtle differences in packaging, current handling, gain, and thermal limits influence which device is better for a given circuit. This guide compares electrical specs, practical selection criteria, wiring examples, and troubleshooting tips with South African sourcing notes and realistic examples.

Common applications

  • Low-side switching of LEDs, relays, and small motors.
  • Small-signal amplification in audio preamps and sensor interfaces.
  • Level shifting and buffering in microcontroller projects (Arduino, ESP32, etc.).

Basic transistor reminder

Both parts are NPN bipolar junction transistors (BJT). Key parameters to check are: maximum collector current (Ic), collector-emitter voltage (Vce), DC current gain (hFE), package/thermal resistance, and frequency response (fT). Use these to match the transistor to load current, voltage, switching speed, and required gain.

Specification comparison table

Parameter 2N2222A (typical) 2N3904 (typical)
Package (common) TO-92, metal cans historically TO-92
Max collector current (Ic) 600 mA 200 mA
Max Vce ~40 V ~40 V
Typical hFE (gain) 100 (varies by Ic) 100 (varies by Ic)
ft (transition freq) ~300 MHz (device-dependent) ~300 MHz (device-dependent)
Thermal/packaging advantage Handles higher current in TO-92 Lower current, slightly higher noise for some batches

Interpretation

The headline difference is current capability: the 2N2222A is typically specified for higher collector currents (up to ~600 mA) and is commonly used where higher switching currents are needed. The 2N3904 is optimised for lower-current small-signal work (up to ~200 mA). Both share similar voltage ratings and gains, so choose based on load current, available package, and thermal margin.

Selection criteria and calculations

When selecting between 2N2222A and 2N3904, consider: required collector current, switching speed, gain at the operating point, power dissipation, and availability/lead times in South Africa. Below are practical steps and formulas to size a transistor for a switching application.

Calculate base resistor for a low-side switch

Example: driving a 200 mA LED string from a 5 V microcontroller output (GPIO = 3.3 V). Use a forced beta (hFE_forced) of 10 for saturation calculations.

Formulas:

  • Base current Ib = Ic / hFE_forced
  • Base resistor Rb = (Vgpio - Vbe_sat) / Ib

Using Vbe_sat ~ 0.8 V, Ic = 0.2 A, hFE_forced = 10 -> Ib = 20 mA. With Vgpio = 3.3 V: Rb ~ (3.3 - 0.8) / 0.02 = 125 Ohm. Choose a standard 120 Ohm or 150 Ohm, ensuring the GPIO can source 20 mA (check MCU limits).

Power dissipation check

P = Vce_sat x Ic; with Vce_sat ~ 0.2 V at saturation, P ~ 0.2 x 0.2 = 0.04 W. Both transistors handle this easily in TO-92 but verify continuous current and thermal derating if ambient temperature is high.

When to prefer 2N2222A

  • Switching currents above ~200 mA (up to device max ~600 mA).
  • Applications where slightly better thermal margin or robustness is desirable.
  • Where TO-92 or metal-can variants are available and stock supports higher-current tasks.

When to prefer 2N3904

  • Signal amplification, sensor interfaces, and low-current switching (<200 mA).
  • When you need a compact, commonly stocked small-signal transistor for breadboard use.
  • Typical teaching labs and student projects where currents are low and cost/availability matter.

Related Sensors & Semiconductors Products

Discover quality sensors & semiconductors products related to 2N2222A vs 2N3904 Comparison: Which NPN Transistor Suits Your Project?

Fgh40n60sfdtu Transistor Igbt 600v 40a 290w To247ab

Fgh40n60sfdtu Transistor Igbt 600v 40a 290w To247ab

CommunicaTransistors
ZAR109.25

Fgh40n60sfdtu Transistor Igbt 600v 40a 290w To247ab

Ms183-35 To-18 Transistor Pad • 5.5 X 2.5 + 1mm

Ms183-35 To-18 Transistor Pad • 5.5 X 2.5 + 1mm

CommunicaTransistors
ZAR2.01

Ms183-35 To-18 Transistor Pad • 5.5 X 2.5 + 1mm

Ms53-3 Transistor Pad For To5 Od=9,2 X 3mm

Ms53-3 Transistor Pad For To5 Od=9,2 X 3mm

CommunicaTransistors
ZAR2.82

Ms53-3 Transistor Pad For To5 Od=9,2 X 3mm

Ms53-25 Transistor Pad For To5 Od=9,2 X 1,5+1mm

Ms53-25 Transistor Pad For To5 Od=9,2 X 1,5+1mm

CommunicaTransistors
ZAR2.82

Ms53-25 Transistor Pad For To5 Od=9,2 X 1,5+1mm

Stgwa40h65dfb2 Transistor Igbt 650v 40a To247

Stgwa40h65dfb2 Transistor Igbt 650v 40a To247

STMicroelectronicsTransistors
ZAR80.44

Stgwa40h65dfb2 Transistor Igbt 650v 40a To247

Ms34-518 | Transistor Pad For To5 Od=9.2mm Polymide

Ms34-518 | Transistor Pad For To5 Od=9.2mm Polymide

CommunicaTransistors
ZAR2.59

Ms34-518 | Transistor Pad For To5 Od=9.2mm Polymide

Ms183-25 | Transistor Pad For To18 Od=5,4 X 2,5+1mm

Ms183-25 | Transistor Pad For To18 Od=5,4 X 2,5+1mm

CommunicaTransistors
ZAR2.01

Ms183-25 | Transistor Pad For To18 Od=5,4 X 2,5+1mm

Mlw44 | Transistor Pad - To220/to219/to202

Mlw44 | Transistor Pad - To220/to219/to202

CommunicaTransistors
ZAR0.75

Mlw44 | Transistor Pad - To220/to219/to202

Ms510-15 Fischer Elektronik Pcb Mounting Pad For To5-10 (10 Pin)

Ms510-15 Fischer Elektronik Pcb Mounting Pad For To5-10 (10 Pin)

Fischer ElektronikTransistors
ZAR4.83

Ms510-15 Fischer Elektronik Pcb Mounting Pad For To5-10 (10 Pin)

2n5551 Transistor Si-n 180v 0.6a 0.31w Vid.

2n5551 Transistor Si-n 180v 0.6a 0.31w Vid.

CommunicaTransistors
ZAR0.61

2n5551 Transistor Si-n 180v 0.6a 0.31w Vid.

Vishay Irfp250 Transistors

Vishay Irfp250 Transistors

VishayTransistors
ZAR51.75

Vishay Irfp250 Transistors

Bu931p Transistor N 400v 500v 15a 135w To247

Bu931p Transistor N 400v 500v 15a 135w To247

STMicroelectronicsTransistors
ZAR67.00

Bu931p Transistor N 400v 500v 15a 135w To247

Practical wiring examples

Below are common wiring setups for switching and simple amplifier stages. Pinouts can vary by manufacturer; always confirm the device pin order printed on the datasheet or package.

Low-side switch (NPN) ASCII wiring

Simple NPN low-side switch for an LED strip or small motor:

  +V (5V)
   |
  [Load]
   |
   +----- Collector (C)
   |      |
  Emitter (E) ----- GND

Base (B) <- Rb <- MCU GPIO

Use a flyback diode across inductive loads (motors, relays). For inductive loads: put a diode (1N400x) from collector to +V (anode to collector, cathode to +V).

Common-emitter amplifier sketch

A basic bias network for small-signal amplification uses a collector resistor (Rc) and emitter resistor (Re) to set the Q-point. Calculate bias to keep the transistor in active region: choose collector voltage ~ 1/2 Vcc for maximum symmetrical swing.

Troubleshooting & real-world notes (South Africa)

If your transistor runs hot, verify: actual Ic, Vce, and whether the device is saturating or dissipating excess power. In South African workshops where ambient temperatures can be high, allow extra thermal margin and confirm component derating. If you're sourcing parts in SA, check branch stock at Communica under "Semiconductors" and "Transistors"; lead times for specific brands can vary by a few days to a few weeks depending on global supply. For local purchasing guidance, see where to buy 2N2222A transistors in South Africa.

Common faults

  • Wrong pinout: many TO-92 transistors use different B-C-E orders between manufacturers.
  • Insufficient base drive: LED dimming or motor stalls indicate under-driven base.
  • No flyback diode on inductive loads: can destroy the transistor quickly.

Cost and availability (example)

As of recent local listings, single 2N3904 or 2N2222A parts can be sourced for nominal unit prices; small multipacks or educational kits typically range from around ZAR 5 to ZAR 30 per transistor depending on pack size and brand (estimate only). For classroom purchases, consider buying in reels or kits to reduce per-unit cost. Check stock pages and branches for pickup options to avoid shipping delays.

Practical recommendation

For student circuits and low-current signal work pick the 2N3904. For switching larger loads (LED arrays, small motors, relays) choose the 2N2222A, or use a driver/MOSFET for higher currents. Always check datasheets for exact pinouts and limits. For amplifier design reference, see 2N2222A transistor amplifier circuit design.

Sources

Communica Samrand — Electronic Component Experts

Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.

Last updated: January 11, 2026

Disclaimer: This content is for educational purposes only. Product availability, pricing, and specifications are subject to change. Always verify current details on the retailer's website before making a purchase. We may earn affiliate commissions from qualifying purchases.

Frequently Asked Questions

Get answers to common questions about Sensors And Semiconductors

Why Choose Communica?

*Free Shipping

Free shipping for orders over ZAR 1,000.00.

7-Day Returns

Get a full refund if you had the product for less than 7 days.

Quick Delivery

Nationwide delivery within 2 - 4 working days.