Nexperia

BC817-40 - 45V 500mA NPN Transistor SOT-23 | Nexperia

MPN: BC817-40 ✓ Active
In Stock Ships in 1-3 business days
45 V Vdss 500 mA Id SOT-23 (TO-236AB), 3 pins Package 100 MHz Speed
From $0.018 USD / Unit
MOQ: 1 |
Price updated: 2026-10-13
Volume Pricing
Qty Unit Price Extended
1 $0.08 $0.08
10 $0.06 $0.60
100 $0.04 $4.00
500 $0.03 $15.00
1,000 $0.025 $25.00
3,000 $0.018 $54.00
ℹ️ All prices are in USD

BC817-40 Overview

The Nexperia BC817-40 is an NPN general-purpose bipolar junction transistor (BJT) rated at 45 V VCEO, 500 mA continuous collector current, and 310 mW power dissipation, housed in a SOT-23 (TO-236AB) surface-mount plastic package. The -40 suffix denotes the highest DC current-gain (hFE) bin of the BC817 family, delivering a minimum hFE of 250 at 100 mA/1 V, which makes it the preferred choice for low-saturation switching and high-gain driver stages.

An NPN BJT is a three-terminal semiconductor device in which a small base current controls a much larger collector current; it belongs to the bipolar transistor family within discrete semiconductors. The BC817 series occupies the medium-power small-signal segment - more current than a BC847 (100 mA) yet in the same miniature SOT-23 footprint, sitting between signal-level transistors and dedicated switching MOSFETs.

Key features include a transition frequency (fT) of 100 MHz, VCEO of 45 V, VCBO of 50 V, VEBO of 5 V, and a low collector-emitter saturation voltage typically below 700 mV at 500 mA. The complementary PNP counterpart is the BC807-40, which uses an identical pinout with reversed polarity, enabling paired push-pull output stages in audio and DC-DC converter circuits.

The device is built using an epitaxial planar die process in a SOT-23 (TO-236AB) package, the industry-standard 3-pin surface-mount outline measuring approximately 2.9 mm x 1.3 mm with a JEDEC TO-236 registration. The plastic encapsulation carries an MSL-1 moisture sensitivity rating, allowing direct reflow without prior bake-out.

Typical applications include switching circuits, AF driver stages, generic interface level-shifters, MOSFET gate drivers, relay/solenoid drivers, and DC-DC converter synchronised rectifiers. The -40 hFE bin is especially useful where high gain is needed without cascading a second transistor.

When designing with the BC817-40, place a base series resistor to limit base current during turn-off transients, and respect the 310 mW power dissipation limit at 25 C by derating approximately 2.5 mW per degree Celsius above that point.

This page consolidates distributor pricing, pin-compatible drop-in alternatives, and application guidance not found in the standalone datasheet.

Drop-in alternatives for BC817-40 — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with BC817-40 (same form factor and footprint) — differing in Package, Continuous Collector Current (IC), Transistor Type, MSL Level, Operating Junction Temperature.

Nexperia
Package: SOT-23 (TO-236AB)
Transistor Type: NPN Bipolar (BJT)
Compare with BC817-40 →
Taiwan Semiconductor
Package: SOT-23 (TO-236), 3 pins
Continuous Collector Current (IC): 0.5 A
MSL Level: 1 (unlimited)
Compare with BC817-40 →

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

BC817-40,215

✅ Drop-In
Nexperia
📦 SOT-23 (TO-236AB)
NPN Bipolar (BJT) · SOT-23 (TO-236AB) · Surface Mount · 45 V · 50 V · 5 V · 500 mA

✓ In Stock

$0.05 / Unit

View Datasheet →

BC817-40-7-F

✅ Drop-In
📦 SOT-23 (TO-236AB)
same die/package from Diodes Incorporated, identical 45 V/500 mA ratings, 250 hFE min

📋 Reference alternative (not in catalog)

BC817-40-TP

✅ Drop-In
📦 SOT-23 (TO-236AB)
MCC second-source, same 45 V VCEO/500 mA IC, SOT-23 footprint, identical pinout

📋 Reference alternative (not in catalog)

MMBTA06

✅ Drop-In
📦 SOT-23 (TO-236AB)
80 V VCEO (vs 45 V, +78%), same SOT-23 footprint, 500 mA, 100 MHz fT

📋 Reference alternative (not in catalog)

BCW66H

✅ Drop-In
📦 SOT-23 (TO-236AB)
45 V VCEO, 800 mA IC (vs 500 mA, +60%), SOT-23, hFE 250-630

📋 Reference alternative (not in catalog)

MMBTA05

✅ Drop-In
📦 SOT-23 (TO-236AB)
60 V VCEO (vs 45 V, +33%), same SOT-23 footprint, 500 mA, hFE 150 min

📋 Reference alternative (not in catalog)

BCX19

✅ Drop-In
📦 SOT-23 (TO-236AB)
50 V VCEO (vs 45 V, +11%), same SOT-23 footprint, 500 mA, hFE 100 min

📋 Reference alternative (not in catalog)

BC817-40 Maximum Ratings & Electrical Characteristics

Transistor Type NPN Bipolar Junction Transistor (BJT)
Package SOT-23 (TO-236AB), 3 pins
Collector-Emitter Voltage (Vceo) 45 V
Collector-Base Voltage (Vcbo) 50 V
Emitter-Base Voltage (Vebo) 5 V
Continuous Collector Current (IC) 500 mA
Total Power Dissipation (Ptot) 310 mW
DC Current Gain (hFE) - -40 bin 250 to 600 (at 100 mA, 1 V)
Transition Frequency (ft) 100 MHz
Collector-Emitter Saturation Voltage (VCEsat) 700 mV max (at 500 mA, 50 mA base)
Operating Junction Temperature -65 C to +150 C
Mounting Type Surface Mount
MSL Level 1
RoHS Status Compliant
Complementary PNP Part BC807-40

BC817-40 Pin Configuration

SOT-23 Package Pinout Diagram SOT-23 3-pin surface mount transistor, JEDEC TO-236. Pin 1 by dot. 1 2 3 SOT-23
Pin 1 Base — Control input; base current modulates collector current
Pin 2 Emitter — Current returns to ground or low-side reference
Pin 3 Collector — Connects to load or supply rail (load-side for low-side switching)

Typical Applications

BC817-40 is suitable for 6 applications: Relay and Solenoid Driver, LED Driver and Indicator Switch, Logic Level Shifter (3.3V to 12V/24V), MOSFET Gate Driver Pre-Driver, AF Amplifier Driver Stage, Synchronous Rectifier in DC-DC Converters.

⚡

Relay and Solenoid Driver

The BC817-40's 500 mA continuous collector current comfortably exceeds the 70 to 150 mA typical pull-in current of signal relays, making it a textbook low-side switch for 5 V/12 V/24 V coil drive. The 45 V VCEO provides 2x headroom over a 24 V rail, and the 250 hFE minimum lets a 3.3 V GPIO deliver 10 mA into the base to fully saturate the device. Place a 1N4148 flyback diode across the coil; this is critical because the inductive kick otherwise destroys the transistor.

💡

LED Driver and Indicator Switch

The BC817-40 is widely used as a low-side switch for LED strings up to 500 mA total current. With a typical hFE of 400 and 1.5 mA base current, the transistor saturates at ~100 mV VCEsat, dissipating minimal power and avoiding the need for a driver MOSFET. The 45 V VCEO also supports high-side switching of multi-LED backlight chains driven from a 12 V or 24 V rail.

🌐

Logic Level Shifter (3.3V to 12V/24V)

The BC817-40 is a classic level translator between 3.3 V microcontroller GPIO and 5 V, 12 V, or 24 V peripheral rails. With 45 V VCEO and a 250 hFE minimum, the transistor interfaces cleanly from low-voltage CMOS logic to industrial bus voltages. The 100 MHz fT ensures edge transitions remain sub-microsecond, suitable for SPI, I2C, and UART re-buffering into RS-485/RS-232 transceivers.

🏭

MOSFET Gate Driver Pre-Driver

In DC-DC converters and motor drives, the BC817-40 acts as a totem-pole pre-driver for power MOSFET gates that require 10 to 50 nC of gate charge. The 500 mA collector current and 100 MHz fT easily deliver the peak gate-drive current during switching transitions, while the SOT-23 footprint keeps the driver compact. Pair with a complementary BC807-40 (PNP) for symmetric push-pull drive.

🎧

AF Amplifier Driver Stage

The BC817-40's 100 MHz transition frequency and 250 to 600 hFE range make it suitable as a small-signal AF pre-amplifier or driver stage in audio circuits. The -40 bin provides high sensitivity, enabling the stage to drive headphones, small speakers through a complementary pair, or buffer line-level signals into a power amplifier input. The 45 V VCEO allows operation from +/-15 V rails.

🔋

Synchronous Rectifier in DC-DC Converters

In low-power buck converters below 500 mA output, the BC817-40 can be used as a synchronous rectifier (low-side switch) replacing a Schottky diode for improved efficiency. With 700 mV VCEsat max at full load, conduction loss is roughly half that of an equivalent Schottky. The fast 100 MHz fT minimises dead-time losses when paired with a complementary high-side switch in continuous-conduction mode.

Recommended Products Summary

G6K-2F-Y-DC5V Signal relay coil load Used in: Relay and Solenoid Driver 1N4148WS-7-F Flyback diode across coil Used in: Relay and Solenoid Driver LTST-C190KGKT Green LED indicator load Used in: LED Driver and Indicator Switch WS2812B Addressable RGB LED load Used in: LED Driver and Indicator Switch MAX485ESA RS-485 transceiver on 5V rail Used in: Logic Level Shifter (3.3V to 12V/24V) STM32G031J6M6 Source microcontroller with 3.3V GPIO Used in: Logic Level Shifter (3.3V to 12V/24V) BC807-40 PNP complementary pair for totem-pole Used in: MOSFET Gate Driver Pre-Driver, AF Amplifier Driver Stage, Synchronous Rectifier in DC-DC Converters IRF7507TRPBF Power MOSFET load Used in: MOSFET Gate Driver Pre-Driver TDA2003 Audio power amplifier input stage Used in: AF Amplifier Driver Stage TPS54360DDA Companion buck controller IC Used in: Synchronous Rectifier in DC-DC Converters
What is the BC817-40?
The BC817-40 is an NPN general-purpose bipolar junction transistor in a SOT-23 (TO-236AB) surface-mount package. According to the Nexperia product overview, it is rated at 45 V VCEO, 500 mA continuous collector current, and carries the -40 hFE bin (250 to 600) - the highest-gain variant in the BC817 family. Its complementary PNP part is the BC807-40.
What is the maximum collector current of the BC817-40?
The BC817-40 has a continuous collector current rating of 500 mA. Peak collector current (IMSP) is typically specified higher than the DC rating for short pulse conditions; consult the manufacturer datasheet for the exact IMSP figure since pulse duration and duty cycle affect the limit. Total power dissipation is 310 mW at 25 C ambient.
What is the hFE of BC817-40?
The BC817-40 hFE bin spans 250 to 600, measured at IC = 100 mA and VCE = 1 V per the Nexperia datasheet. The -40 suffix is the highest-gain bin of the BC817 family; -16 covers 100 to 250 and -25 covers 160 to 400. Choose the -40 bin when you need maximum sensitivity with low base drive, such as in high-impedance sensor interfaces.
What is the difference between BC817, BC817-25, and BC817-40?
All three share the same NPN silicon die, SOT-23 package, 45 V VCEO, 500 mA IC rating, and 100 MHz fT. They differ only in hFE bin: BC817 (no suffix) covers 100 to 600, BC817-25 covers 160 to 400, BC817-40 covers 250 to 600. The -40 bin guarantees the highest minimum gain for designs that depend on minimum hFE.
Where can I buy BC817-40 online?
BC817-40 is widely stocked at major distributors including DigiKey, Mouser, LCSC, and Octopart, with prices ranging from approximately $0.0076 (LCSC, MSKSEMI branded) to $0.08 (qty 1, branded Nexperia or Diodes Incorporated) as of 2026-10-13. Multi-source availability makes the BC817-40 one of the most supply-resilient transistors in the SOT-23 class.
What is the price of BC817-40 in 3000-piece quantities?
At a 3000-piece reel quantity, the BC817-40 is available for approximately $0.018 per unit from Asian distributors and $0.025 per unit from tier-one suppliers as of 2026-10-13. Pricing drops sharply above 1000 pieces because tape-and-reel packaging is amortised. Volume pricing for OEM quantities above 50k pieces should be requested via quote.
What is the lead time for BC817-40?
BC817-40 is in active production at Nexperia, Diodes Incorporated, STMicroelectronics, onsemi, and Diotec with stock typically available immediately at major distributors as of 2026-10-13. Standard lead time for non-stocked reels is 8 to 12 weeks from the manufacturer. The mature multi-source status makes the part effectively non-allocated even during industry-wide shortages.
Is BC817-40 in stock right now?
Yes, the BC817-40 is in stock at DigiKey, Mouser, and LCSC with quantities ranging from a few thousand to over 100,000 reels as of 2026-10-13. The strong multi-source position (Nexperia, Diodes Incorporated, STMicroelectronics, onsemi, Diotec) means allocation risk is minimal. Real-time stock can be confirmed via the Octopart aggregate availability page.
BC817-40 vs BC847 - which is better?
The BC847 is limited to 100 mA continuous collector current versus the BC817-40's 500 mA rating, so choose the BC817-40 for any load above 100 mA such as relay coils, LED strings, or small solenoids. Both share the SOT-23 footprint and similar 45 V VCEO. The BC847 is only preferable in space-constrained designs where the lower current is acceptable and a tighter gain bin is desired.
What is the best drop-in replacement for BC817-40?
The best drop-in replacement for the BC817-40 is the BC817-40 itself from a different manufacturer (Diodes Incorporated, STMicroelectronics, onsemi, Diotec, MSKSEMI) - all share the SOT-23 footprint and identical 45 V/500 mA ratings. If any manufacturer is short, the others will be in stock. For equivalent parts in the same package, the MMBTA06 (250 hFE min), KST06, and BCW66H are commonly listed substitutes in cross-reference databases.
Can BC817-25 replace BC817-40?
The BC817-25 cannot reliably replace the BC817-40 because its hFE bin (160 to 400) does not guarantee the BC817-40's minimum of 250 at the high end of the -25 range; designs that require hFE >= 250 will fall out of spec. However, in most switching applications where exact hFE is not critical, the BC817-25 will work as a near drop-in with the same SOT-23 footprint and electrical ratings.
Where do I find the BC817-40 datasheet PDF?
The official BC817-40 datasheet PDF can be downloaded from the Nexperia product page at www.nexperia.com/product/BC817-40 or from third-party aggregators including alldatasheet.com and Diodes Incorporated (diodes.com/part/view/BC817-40). Datasheets from second-source manufacturers contain identical electrical ratings since the BC817 series is an industry-standard JEDEC-registered part.
Where do I find the BC817-40 pinout?
The BC817-40 SOT-23 pinout (looking at the flat side with pins down) is: Pin 1 = Base, Pin 2 = Emitter, Pin 3 = Collector. This matches the standard JEDEC TO-236AB outline. The bottom thermal pad on some variants is not internally connected on the BC817; always cross-check the specific manufacturer's pinout diagram before PCB layout.
Is BC817-40 suitable for switching 24V relay coils?
Yes, the BC817-40 is well-suited for switching 24 V relay coils because its VCEO rating of 45 V exceeds 24 V with comfortable margin for the turn-off inductive spike. The 500 mA continuous collector current handles most signal-relay coils directly without a driver stage. Add a flyback diode across the coil to clamp the inductive kick and protect the transistor.
What is the BC817-40 used for in real designs?
The BC817-40 is commonly used as a low-side switch for relays, solenoids, and LEDs; as a level-shifter between 3.3 V microcontrollers and 12 V/24 V loads; as a pre-driver for power MOSFETs in DC-DC converters; and as an AF amplifier in driver stages. Its 250 hFE minimum makes it well-suited to high-impedance sensor interfaces where base current must be kept low.

Engineering reference data for BC817-40 — comparison, design guidance, and compliance information.

Selection Guide

Choose the BC817-40 when you need a general-purpose NPN switch or amplifier with at least 250 hFE in a SOT-23 footprint, handling up to 500 mA at 45 V. It is the right part for 3.3 V-to-12/24 V level shifting, relay/LED driving, and small DC-DC converter low-side switches. For higher voltage rails above 45 V choose the MMBTA06 (80 V, same footprint); for higher current above 500 mA choose the BCW66H (800 mA). For PNP polarity on a complementary rail use the BC807-40. For tighter boards below 100 mA choose the BC847 family instead.

Comparison with Alternatives

Parameter This Product BC817-40,215 BC817-40-7-F BC817-40-TP MMBTA06 BCW66H
Package SOT-23 (TO-236AB) SOT-23 (TO-236AB) - same SOT-23 (TO-236AB) - same SOT-23 (TO-236AB) - same SOT-23 (TO-236AB) - same SOT-23 (TO-236AB) - same
Brand Nexperia Nexperia Diodes Incorporated MCC onsemi Nexperia
VCEO (Collector-Emitter Voltage) 45 V 45 V 45 V 45 V 80 V 45 V
Continuous Collector Current (IC) 500 mA 500 mA 500 mA 500 mA 500 mA 800 mA
DC Current Gain (hFE) - Min 250 250 250 250 100 250
Transition Frequency (fT) 100 MHz 100 MHz 100 MHz 100 MHz 100 MHz 100 MHz
Power Dissipation (Ptot) 310 mW 310 mW 310 mW 310 mW 350 mW 350 mW
Polarity NPN NPN NPN NPN NPN NPN
Qty-1 Unit Price (USD) $0.08 $0.08 $0.07 $0.04 $0.05 $0.09

Key Differentiators

  • Highest hFE bin in the BC817 family (vs BC817-25)
  • Industry-standard 45 V/500 mA envelope (vs MMBTA06)
  • Multi-source second-source availability (vs Proprietary transistors)

Design Notes

Estimated: At maximum ratings of 500 mA collector current and 45 V VCEO, instantaneous power could theoretically reach 22.5 W, but the 310 mW continuous dissipation limit (at 25 C ambient, with no heatsink) bounds real-world operation. Derate by approximately 2.5 mW per degree Celsius above 25 C - at 100 C ambient the limit drops to ~187 mW. For switching applications at 100 mA or less, thermal performance is rarely an issue; for sustained 300 to 500 mA loads use a copper pour of at least 1 cm squared on the collector pad.

Three recurring pitfalls with the BC817-40: (1) forgetting the flyback diode across inductive loads - a relay coil without a 1N4148 across it can produce 100+V transients that exceed the 45 V VCEO and destroy the transistor; (2) driving the base with insufficient current - designs assuming hFE = 600 may saturate but those targeting the minimum hFE = 250 must supply at least IC/250 base current; (3) confusing pinout - on the SOT-23 outline, the base is pin 1, emitter pin 2, collector pin 3, which differs from some larger packages (TO-92 has C-B-E order).

SOT-23 thermal performance depends almost entirely on the copper pad connected to pin 3 (collector). For sustained loads above 200 mA, expand the collector pad to at least 25 mm squared of 2 oz copper on both PCB layers stitched with thermal vias. Place the base series resistor within 5 mm of pin 1 to minimise parasitic inductance that can cause ringing during fast transients.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS and REACH compliant per Nexperia product page. Not AEC-Q100 qualified for automotive - consult the manufacturer's automotive-grade portfolio if required. Lead-free reflow-compatible per JEDEC J-STD-020.

Data verified on: 2026-10-13 — data verified and curated by XAIPART's component engineering team

Related Searches

BC817-40 datasheet BC817-40 equivalent BC817-40 NPN SOT-23 transistor BC817-40 pinout BC817-40 price 3000 pieces BC817-40 buy online BC817-40 vs BC847 Nexperia BC817-40 BC817-40 relay driver SOT-23 NPN 45V 500mA transistor BC817-40 hFE 250 BC817-40 complementary PNP

Related Components & Terms

Nexperia BC817-40 BC817 BC807-40 BC847 MMBTA06 BCW66H Diodes Incorporated onsemi STMicroelectronics MCC NPN transistor bipolar junction transistor BJT SOT-23 TO-236AB JEDEC RoHS REACH AEC-Q100 J-STD-020 SMD surface mount epitaxial planar die MSL-1 hFE VCEO VCEsat relay driver level shifter AF amplifier DC-DC converter synchronous rectifier
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details