Fact-checked by Grok 2 weeks ago

2N3904

The 2N3904 is a widely used NPN (BJT) designed for general-purpose and switching in low-power electronic applications, featuring a maximum collector current of 200 mA and a collector-emitter voltage rating of 40 V. Introduced by Semiconductor in the mid-1960s, the 2N3904 quickly became a "jellybean" component due to its reliable performance across a broad range of temperatures (-55°C to +150°C) and its compact plastic package, which facilitates easy integration into circuits. Its enduring popularity stems from consistent availability from multiple manufacturers, including and NXP, and its ability to handle dynamic ranges up to 100 mA in switching modes and 100 MHz in , making it a staple in both prototyping and production designs even after nearly 60 years. Key electrical characteristics include a DC current gain (h_FE) ranging from 30 to 300 depending on collector current, a current-gain-bandwidth product (f_T) of 300 MHz at I_C = 10 mA and V_CE = 20 V, and low saturation voltages such as V_CE(sat) = 0.2 V at I_C = 10 mA and I_B = 1 mA. Absolute maximum ratings specify a collector-base voltage (V_CBO) of 60 V, an emitter-base voltage (V_EBO) of 6.0 V, and a power dissipation (P_D) of 625 mW at an ambient temperature of 25°C, ensuring robust operation in diverse environments. These specifications position the 2N3904 as ideal for applications requiring fast switching and moderate gain without excessive power consumption. Common uses encompass signal in audio and RF circuits, switching, oscillator stages, and driving small loads like LEDs or relays, often paired with its complementary counterpart, the 2N3906. Despite the advent of more specialized transistors, the 2N3904's simplicity, low cost (typically under $0.10 in bulk), and proven reliability continue to make it a go-to choice for hobbyists, educators, and engineers in fields from to industrial controls.

Overview

Description

The 2N3904 is a NPN (BJT) characterized by two n-type regions separated by a thin p-type base region. This structure enables current amplification through the forward biasing of the base-emitter junction and reverse biasing of the collector-base junction. The device includes three terminals—emitter, , and collector—that form two junctions, allowing control of a larger collector-emitter via a smaller base current. It serves as a general-purpose component for low-power and switching, supporting collector currents up to 200 mA. Registered by as a standard general-purpose , the 2N3904 is widely available in the package. Its complementary counterpart is the 2N3906.

History

The 2N3904 NPN was registered by Semiconductor in the mid-1960s through the Joint Electron Device Engineering Council () standardization process, alongside its complementary counterpart, the 2N3906. This registration established it as a standardized general-purpose device for low-power amplification and switching, reflecting the rapid expansion of the during the 1960s boom, when production surged to meet demands in emerging and . Positioned as a versatile option for broader low-power applications, it built upon earlier designs like the 2N2222, which had been introduced in the early 1960s for higher-current needs but was less optimized for everyday small-signal tasks. Initially packaged in the robust metal can for better thermal performance, the 2N3904 appeared in Motorola's 1966 Semiconductor Data Book, marking its commercial debut and highlighting improvements in silicon epitaxial planar construction for enhanced speed and reliability. By the late and into the , it transitioned to the more cost-effective epoxy plastic package, which reduced expenses and facilitated widespread into compact circuits. This shift aligned with the era's push toward and affordability, enabling rapid adoption in such as radios, televisions, and early computing peripherals. The transistor's enduring popularity stems from its proven reliability, minimal cost—often under 10 cents per unit—and broad versatility across and switching roles, resulting in billions of units produced cumulatively since its introduction, with high-volume manufacturing continuing into 2025. Its design's simplicity and consistent performance have ensured it remains a staple in prototyping, , and legacy systems, even as integrated circuits dominate modern applications.

Electrical Characteristics

Key Specifications

The 2N3904 is an NPN designed for general-purpose amplification and switching, with absolute maximum ratings that define its safe operating limits under specified conditions. The collector-emitter voltage (V<sub>CEO</sub>) is rated at 40 V, the collector-base voltage (V<sub>CBO</sub>) at 60 V, the emitter-base voltage (V<sub>EBO</sub>) at 6.0 V, the continuous collector current (I<sub>C</sub>) at 200 mA, and the total power dissipation (P<sub>D</sub>) at 625 mW when the ambient temperature (T<sub>A</sub>) is 25°C. Additionally, the operating and storage range spans from -55°C to +150°C. Exceeding these ratings can lead to device failure due to or . Typical electrical characteristics include a DC current gain (h<sub>FE</sub>, also denoted as β) of 100 at a collector of 10 mA and V<sub>CE</sub> = 1.0 V, providing a measure of the transistor's capability in common-emitter configuration. The relationship between collector and base is given by I_C = \beta I_B, where β represents the , which varies with operating conditions but typically falls between 100 and 300 for moderate currents in this device. The transition frequency (f<sub>T</sub>), a key indicator of high-frequency performance, is 300 MHz at I<sub>C</sub> = 10 mA, V<sub>CE</sub> = 20 V, and test frequency of 100 MHz; this value approximates both the and the gain-bandwidth product for small-signal operation. Thermal management is critical for reliable operation, with junction-to-ambient thermal resistance (R<sub>θJA</sub>) specified at 200°C/W and junction-to-case thermal resistance (R<sub>θJC</sub>) at 83.3°C/W, both measured under mounted conditions. Power curves indicate a linear reduction in allowable dissipation above 25°C, typically at a rate of 5 mW/°C for ambient temperatures up to 150°C, derived from the thermal resistance to prevent junction overheating. These parameters ensure the 2N3904 maintains performance in environments with moderate thermal loads, such as .
ParameterSymbolValueConditionsUnit
Collector-Emitter VoltageV<sub>CEO</sub>40I<sub>B</sub> = 0V
Collector-Base VoltageV<sub>CBO</sub>60I<sub>E</sub> = 0V
Emitter-Base VoltageV<sub>EBO</sub>6.0I<sub>C</sub> = 0V
Collector Current - ContinuousI<sub>C</sub>200-mA
Total Power DissipationP<sub>D</sub>625T<sub>A</sub> = 25°CmW
T<sub>J</sub>-55 to +150-°C
DC Current Gainh<sub>FE</sub>100I<sub>C</sub> = 10 mA, V<sub>CE</sub> = 1 V-
Transition Frequencyf<sub>T</sub>300I<sub>C</sub> = 10 mA, V<sub>CE</sub> = 20 V, f = 100 MHzMHz
Thermal Resistance, Junction-to-AmbientR<sub>θJA</sub>200Mounted on 1" × 1" × 0.2" board°C/W

Pinout and Operation

The 2N3904, an NPN , features a standard package with the following pinout: when the flat side faces the viewer, Pin 1 (left) is the emitter, Pin 2 (center) is the , and Pin 3 (right) is the collector. This orientation ensures consistent connectivity in circuit designs, with the emitter typically connected to the lower potential side, the for control input, and the collector to the load. The transistor operates in three fundamental modes depending on biasing conditions. In the active mode, suitable for signal , the base-emitter is forward-biased (V_BE ≈ 0.7 V), while the collector-base remains reverse-biased (V_CB > 0 V), enabling the collector I_C to be approximately β times the base I_B, where β is the . mode occurs when the device acts as a fully on switch, with both junctions forward-biased, resulting in a low collector-emitter (V_CE ≈ 0.2 V) and I_C limited primarily by the external rather than β. In cutoff mode, the transistor functions as an off switch, with I_B = 0 and both junctions reverse-biased, yielding negligible I_C (typically < 10 nA). For normal active-region operation, the base-emitter junction requires forward bias (V_BE > 0.5–0.6 V to initiate conduction), and the collector-base junction must be reverse-biased (V_CB > 0 V) to maintain high output and linear . Exceeding these conditions can shift the into or , altering its from to switching. A simple for the 2N3904 is described by the Ebers-Moll model, which represents the device as two diodes (one for each junction) interconnected with current-controlled current sources to capture forward and reverse flows. Key parameters include the transport saturation I_S ≈ 6.7 × 10^{-15} A, forward β_F ≈ 416, and reverse β_R ≈ 0.737, allowing simulation of and small-signal without detailed internal physics. Safe operating area (SOA) considerations are essential to prevent damage, particularly second breakdown—a localized mechanism that can occur at high V_CE and I_C combinations, leading to premature failure. The 2N3904's SOA is bounded by maximum ratings such as V_CEO = 40 V, continuous I_C = 200 mA, and power dissipation P_D = 625 mW (at T_A = 25°C), ensuring operation stays within these limits to avoid second breakdown and maintain reliability.

Physical Aspects

Packaging Options

The 2N3904 is primarily housed in the plastic through-hole package, which features three leads in a cylindrical body designed for easy insertion into breadboards or printed circuit boards (PCBs). This package has a body diameter of approximately 5 mm and leads extending to an overall length of about 19.7 mm for straight-lead variants, providing a compact suitable for general-purpose applications. The 's plastic encapsulation offers adequate protection against environmental factors while enabling cost-effective . Alternative packaging options include surface-mount variants such as the SOT-23, which is a smaller package with three leads arranged for automated assembly on PCBs, commonly designated as MMBT3904 to indicate the surface-mount configuration. This option measures roughly 2.9 mm by 1.3 mm by 1.0 mm, making it ideal for space-constrained designs. While metal can packages like the were used in earlier general-purpose transistors for enhanced thermal performance and reliability in harsh environments, the 2N3904 was originally introduced in the metal can package before migrating to the TO-92 to achieve reductions in size and manufacturing costs. Lead configurations for the package vary to suit different assembly needs: straight leads are typically provided for prototyping and breadboarding, while pre-formed or bent leads facilitate secure insertion and onto PCBs. These options are available in , tape-and-reel, or ammo pack formats to support high-volume . The 2N3904 packages meet modern environmental standards, including a (MSL) of 1, indicating unlimited floor life at 30°C and 85% relative humidity without baking, and compliance with directives for lead-free construction since the early 2000s.

Markings and Identification

The 2N3904 transistor in the standard through-hole package typically bears markings on the flat side, including the device identifier "2N3904", a manufacturer-specific or such as "ON" for , and a date in the YYWW format representing the year (YY) and work week (WW) of production. An additional assembly or lot may precede these elements to aid in manufacturing . These markings ensure compliance with standards for part identification and enable throughout the . In some variants of the package, color bands or dots appear on the reverse side for rapid visual identification, often denoting current gain (h_FE) binning groups to facilitate selection in applications requiring specific performance ranges. To detect 2N3904 devices, inspect the markings for consistent font style, alignment, and legibility, as fakes often exhibit irregular printing or spelling errors. Verify lead plating for a uniform matte tin finish typical of genuine Pb-free components, avoiding overly shiny or mismatched coatings common in counterfeits. Functional confirmation involves h_FE testing, where authentic devices measure a minimum of 70 (up to 300) under specified conditions (VCE=1V, IC=0.1mA). Packaging labels for 2N3904 devices vary by format: through-hole versions are commonly supplied in bulk bags with lot and quantity details printed on external tags, while surface-mount equivalents like MMBT3904 use tape-and-reel carriers featuring barcodes, part numbers, and manufacturer information for automated handling and . All packaging adheres to lot numbering conventions to support quality control and recall processes if needed.

Applications

Switching Uses

The 2N3904 transistor serves as an effective low-power switch in digital circuits, where a logic-level signal applied to the base through a current-limiting resistor turns the transistor on or off to control loads such as LEDs or small relays. With a maximum continuous collector current of 200 mA, it can reliably switch these loads while operating in saturation mode, where the collector-emitter voltage drops to a low value to minimize power loss. For example, in a basic LED driver circuit, a 5 V logic high at the base (with a 1 kΩ resistor) saturates the transistor, allowing up to 20 mA through the LED connected to the collector, while a logic low turns it off completely. To achieve higher current gain for switching applications with very low base drive currents, two 2N3904 transistors can be arranged in a Darlington pair configuration, with the emitter of the first connected to the base of the second and a small (typically 1–10 kΩ) between them to enhance stability. This setup multiplies the current gain (h_FE) of individual transistors—typically 100–300 each—resulting in a composite gain exceeding 10,000, ideal for interfacing low-current logic signals to higher-current loads like relays drawing near the 200 mA limit. In (PWM) applications, the 2N3904 handles modulated signals to control motor speed or LED brightness by varying the of the base drive, leveraging its transition frequency of 300 MHz for efficient operation at PWM frequencies up to several kilohertz without significant distortion. The transistor's fast switching characteristics ensure low losses during rapid on-off transitions, making it suitable for simple drivers where the collector connects to the motor via a for protection. For timing circuits, the 2N3904 is frequently used in astable multivibrator configurations, where two transistors are cross-coupled with timing networks to generate continuous square-wave pulses for applications like LED blinkers or basic oscillators. The circuit oscillates freely between states, with the frequency determined by the time constants (typically f ≈ 1/(1.38 )), producing symmetric or asymmetric waveforms depending on resistor values. Key advantages of the 2N3904 in switching include its low collector-emitter saturation voltage of 0.3 V maximum at 50 mA collector current and 5 mA base current, which reduces heat generation and improves efficiency in battery-powered designs, along with a fast turn-off time of approximately 250 ns (combining 200 ns storage time and 50 ns under low-current conditions). These traits make it a staple for low-voltage, high-speed in systems and .

Amplification Uses

The 2N3904 is widely employed in common-emitter configurations for linear signal , where it provides voltage gain while inverting the input signal. The voltage gain A_v in this setup, assuming no emitter degeneration, is approximated by A_v = -\frac{R_C}{r_e}, with the intrinsic emitter resistance r_e = \frac{26 \, \mathrm{mV}}{I_E} at (where I_E is the emitter in mA). This formula derives from the 's small-signal model and allows designers to achieve gains of 10 to 100 by selecting appropriate collector R_C values, typically in the range of 1 kΩ to 10 kΩ for low-power applications. In audio preamplifiers, the 2N3904 handles small input signals effectively, offering low noise performance suitable for or amplification. Its is approximately 5 at collector currents around 100 µA and frequencies from 10 Hz to 15.7 kHz, enabling clean amplification of weak audio signals up to the device's limit of 100 MHz for general small-signal operation. For RF applications, the 2N3904 serves in low-power stages such as simple oscillators or (IF) amplifiers in radio receivers, leveraging its current-gain product f_T of 300 MHz at 10 mA collector current. These uses are common in hobbyist and educational radio circuits, where the amplifies signals in the VHF range without requiring specialized RF components. Stability in circuits is often achieved using configurations, which provide a consistent base voltage independent of the transistor's current h_{FE} (ranging from 100 to 300 at 10 mA). This biasing method minimizes and drift, making it ideal for reliable analog in varying environmental conditions. However, the 2N3904 exhibits limitations in high-frequency , including increased due to output of 4 pF, which reduces above 100 MHz. Additionally, for collector currents exceeding 100 mA, heat sinking is necessary to prevent exceeding the maximum power dissipation of 625 mW at 25°C, as occurs at 5 mW/°C above this temperature.

Variants and Equivalents

The 2N3906 serves as the complementary PNP transistor to the , sharing nearly identical electrical characteristics to enable paired use in push-pull configurations and complementary switching circuits. Both devices feature a collector-emitter voltage rating of 40 V, a continuous collector current of 200 mA, and a DC current gain (hFE) minimum of 100 at 10 mA collector current, all housed in the package for straightforward substitution in designs requiring balanced NPN-PNP operation. For applications demanding higher current handling, the emerges as a suitable NPN equivalent, capable of supporting up to 800 mA continuous collector current while maintaining a 40 V collector-emitter voltage rating and comparable hFE values around 100 minimum at 10 mA. This makes it ideal for upgrading from the 2N3904 in scenarios where increased load capacity is needed without significantly altering voltage tolerances or gain profiles, though its or packaging may require minor board adjustments. European alternatives include the BC547 as a low-power NPN with similar general-purpose attributes to the 2N3904, offering a 45 V collector-emitter voltage, 100 mA collector current, and hFE minimum of 110 at 2 mA, often in the package for direct compatibility in and switching roles. Its PNP counterpart, the BC557, mirrors these specifications with reversed (45 V, -100 mA), facilitating complementary pairings akin to the 2N3904/ duo in regional designs adhering to standards. Surface-mount device (SMD) variants of the 2N3904 include the MMBT3904 and FMMT3904, both NPN transistors optimized for compact layouts while preserving core performance metrics such as 40 V collector-emitter voltage and 200 mA collector current. The MMBT3904, in an SOT-23 package, delivers hFE minimum of 100 at 10 mA and supports frequencies up to 300 MHz, making it a for through-hole designs transitioning to SMD. Similarly, the FMMT3904 in SOT-23 offers equivalent ratings with enhanced power dissipation up to 330 mW, suitable for space-constrained amplification tasks. When selecting substitutes for the 2N3904, key criteria include ensuring compatibility in DC current gain (hFE) to maintain efficiency, collector-emitter voltage (VCEO) to avoid under operating conditions, and package type to fit constraints without redesign. For instance, mismatches in hFE could degrade in linear applications, while VCEO below 40 V risks failure in higher-voltage circuits; prioritizing devices with verified alignment in these parameters from manufacturer datasheets ensures reliable performance across substitutions.
Parameter2N3904 (NPN)2N3906 (PNP)2N2222 (NPN)BC547 (NPN)BC557 (PNP)MMBT3904 (NPN)FMMT3904 (NPN)
VCEO40 V-40 V40 V45 V-45 V40 V40 V
IC (max)200 mA-200 mA800 mA100 mA-100 mA200 mA200 mA
hFE (min at 10 mA)100100100110 (at 2 mA)100 (at 2 mA)100100
PackageTO-92TO-92TO-92/TO-18TO-92TO-92SOT-23SOT-23

Part Numbering Systems

The 2N3904 serves as the core -registered part number for this general-purpose NPN silicon , established under standards for standardized designations without inherent suffixes for current gain (hFE) grouping in the base specification. Manufacturer-specific variants may append letters like "A" in some cases, such as the 2N3904A offered by suppliers like KEC or Comchip, which align with the standard electrical characteristics including hFE ranges of 70 to 300 but are not part of the original grouping system. Different manufacturers employ prefixes or suffixes to denote packaging, plating, and compliance options. For instance, ON Semiconductor uses 2N3904G to indicate lead-free (Pb-free) RoHS-compliant versions in TO-92 packaging, while (now part of ) employs 2N3904BU for bulk packaging and 2N3904TA for tape-and-ammo configurations. Central Semiconductor designates lead-free variants as 2N3904 PBFREE, maintaining compatibility with the base specifications. These additions ensure traceability and suitability for automated assembly without altering core performance parameters. Packaging-specific codes are common for surface-mount or reel formats, though the 2N3904 primarily refers to through-hole TO-92 styles; related SMD equivalents like MMBT3904 use similar conventions. ON Semiconductor applies suffixes such as RLRA or RL1G for tape-and-reel options, typically holding 2000 units on a 7-inch reel for Pb-free devices, facilitating high-volume production. Fairchild variants include 2N3904TAR for tape-and-reel ammo packs. As of , all major 2N3904 variants from leading manufacturers remain active and in production, with no widespread noted in distributor inventories; lead-free designations like the "G" or "PBFREE" suffixes have become standard to meet environmental regulations. For procurement, cross-referencing tools on platforms like Digi-Key allow users to match manufacturer-specific part numbers to the base, ensuring availability across bulk, reel, or tray formats while verifying package types such as TO-92.

References

  1. [1]
    [PDF] NPN General - Purpose Amplifier 2N3904 - onsemi
    “Typical” parameters which may be provided in onsemi data sheets and/or specifications can and do vary in different applications and actual performance may vary ...
  2. [2]
    2N3904: Why use a 60-year-old transistor? - EDN Network
    May 2, 2025 · Ancient, legendary analog semiconductors like 2N3904 are still available and used for many reasons.
  3. [3]
    Comprehensive Guide to the 2N3904 Transistor - YIC Electronics
    It consists of two PN junctions forming three regions: emitter (E), base (B), and collector (C).Missing: JEDEC | Show results with:JEDEC
  4. [4]
    Bipolar Junction Transistors (BJTs): NPN Vs. PNP - Anito Circuits
    Sep 29, 2024 · NPN Transistor Diagram. The structure of an NPN transistor consists of a layer of P-type semiconductor (base) sandwiched between two N-type ...
  5. [5]
    2N3904 NPN Basic Transistor Guide - DigiKey
    Jun 15, 2017 · The 2N3904 is an extremely popular NPN transistor that is used as a simple electronic switch or amplifier that can handle 200 mA (absolute maximum) and ...Missing: structure JEDEC
  6. [6]
    [PDF] 2N3903, 2N3904 - onsemi
    Specifications Brochure, BRD8011/D. Figure 1. Delay and Rise Time Equivalent Test Circuit. Figure 2. Storage and Fall Time Equivalent Test Circuit. +3 V. 275.
  7. [7]
    [PDF] 2C3904 | VPT Components
    • JEDEC Registered 2N3904. • Designed For Low Noise Amplifier Applications. • High Gain, Low Saturation Voltage. Electrical Characteristics (TA = +25oC unless ...
  8. [8]
    2N3904 NPN General Purpose Transistor - Futurlec
    The 2N3904 has a power rating of 625mW, with a maximum collector current of 200mA. The complementary transistor for the 2N3904, is the 2N3906 PNP Transistor, ...
  9. [9]
    2N3904 Datasheet: Explained - Ultra Librarian
    Feb 18, 2025 · The 2N3904, registered by Motorola in the mid-1960s, is a small signal transistor used for general-purpose switching (100 mA) and amplification ...Missing: history JEDEC
  10. [10]
    Ebers-Moll Model of BJT
    Ebers-Moll Model of Bipolar Junction Transistor. The standard diode ... For example, for 2N3904, Is=6.7e-15 A, βF=416, and βR=0.737. After a bit of ...
  11. [11]
  12. [12]
    2N3904 - Discrete Semiconductor Products - DigiKey
    $$16.99 delivery 30-day returnsOrder today, ships today. 2N3904 – Bipolar (BJT) Transistor NPN 40 V 200 mA 270MHz 625 mW Through Hole TO-92-3 from STMicroelectronics.
  13. [13]
    Type Registration, Data Sheets - JEDEC
    JEDEC type designation numbers are assigned without regard to whether or not their assignment may involve patents or articles, materials, or processes.
  14. [14]
    Why the color bands on TO-92's back side? | All About Circuits
    Mar 12, 2016 · I have some old TO-92 transistors. Some have color bands/bars behind its face/marking. For example I have 2N4401 manufactured around 1988 ...
  15. [15]
    Astable Multivibrator and Astable Oscillator Circuit
    An Astable Multivibrator circuit is constructed using two timing capacitors ... 2N3904 and the circuit works really good using 6DCVolts. However, when ...
  16. [16]
    [PDF] Tutorial5_Designing_Common_...
    Problem: Design a Common-Emitter Amplifier using the 2N3904 transistor that meets the following specifications: IC = 2mA. VCC = 30 Volts. Av (without load) ...Missing: calculation | Show results with:calculation
  17. [17]
    None
    ### Key Specifications for 2N3904
  18. [18]
    None
    ### Key Specifications for 2N3906 (Complementary to 2N3904)
  19. [19]
    2N3904A Datasheet(PDF) - KEC(Korea Electronics)
    Part #: 2N3904A. Download. File Size: 662Kbytes. Page: 5 Pages. Description: EPITAXIAL PLANAR NPN TRANSISTOR. Manufacturer: KEC(Korea Electronics).
  20. [20]
    [PDF] 2N3904 MMBT3904 PZT3904 - NPN General-Purpose Amplifier - MIT
    All manufacturers of semiconductor products are experiencing counterfeiting of their parts. Customers who inadvertently purchase counterfeit parts ...
  21. [21]
    [PDF] 2n3903 2n3904 silicon npn transistors - Central Semiconductor
    DESCRIPTION: The CENTRAL SEMICONDUCTOR 2N3903 and. 2N3904 devices are silicon NPN transistors designed for general purpose amplifier and switching applications.