BC817-40 Transistor: Specifications, Typical Circuits, and Local Applications
All you need to know about BC817-40: datasheet specifications, design tips, and local sourcing for hobbyist and industry use in South Africa.

Essential Specifications
Detailed breakdown of ratings, gain, and package for the BC817-40.
Application Circuits
Explore key example circuits for switching and amplification.
Selecting for SA Projects
Advice on sourcing, substitutes, and local stock tips at Communica.
Overview: The BC817-40 NPN SMD Transistor
The BC817-40 is a widely-used, small signal NPN bipolar junction transistor (BJT) packaged in a compact SOT-23 SMD footprint. Known for its versatility, moderate voltage/current ratings, and high DC gain (hFE), it is commonly specified by South African engineers, students, and makers for signal switching, general amplification, logic level interfacing, and driver circuits. Communica stocks a full range of BC8xx family SMD BJTs for educational, prototyping, and manufacturing needs.
BC817-40: Technical Specifications
| Parameter | Value | Notes |
|---|---|---|
| Polarity / Type | NPN | General Purpose |
| Package | SOT-23 (SMD) | 2.9mm x 1.3mm x 1.1mm |
| Vcbo / Vceo | 50V max | Collector-base, collector-emitter |
| Ic (Max Continuous) | 500 mA | Current handling |
| hFE (Gain) | 250-630 (@ Ic=2mA, Vce=5V) | High gain "40" group |
| Ptot (Power Dissipation) | 0.3W (300mW) | SOT-23 package limitation |
| Transition Frequency (ft) | 100 MHz typ. | RF switch/amp friendly |
| Maximum Junction Temp | 150 degreesC | Design with margin |
Popular South Africa brands and equivalents available at Communica include Diodes Inc, Onsemi, Nexperia, and Vishay. The BC817-40 is a pin-compatible, high-gain variant in the wider BC817 series (BC817-16, -25, -40 denote gain groups).
Key Features and Gain Selection
- High hFE for low base drive circuits
- Small SMD footprint for compact PCBs
- Useful in 3.3V-24V logic translation and relay/MOSFET pre-drivers
- Widely specified in textbooks, student kits, and industry BOMs in South Africa
- Broad temperature range for indoor/equipment builds
Using the BC817-40: Circuit Design Basics
The BC817-40 is specified mainly for switching and small-signal amplification. Typical circuits include:
- Low-side relay, LED, or signal driver from microcontrollers (Arduino, Raspberry Pi, ESP32, PLC I/O)
- Common-emitter amplifier for audio and general signal gain
- Level shifters and simple logic gates
- Basic oscillator and timer circuits (astable multivibrators)
Switching Example: Driving a 12V Relay
Suppose you want to drive a 12V relay coil (60mA) with a 3.3V logic output from a microcontroller using a BC817-40:
| Example Calculation: Base Resistor (Rb) | |
|---|---|
| Relay coil current (Ic) | 60 mA |
| Assumed gain (hFE min) | 250 |
| Required Ib (Ic / hFE * safety margin 5x) | 60mA / 250 / 5 ~ 48 uA |
| Vlogic | 3.3 V |
| Vbe (on) | 0.7 V |
| Rb | (3.3V - 0.7V) / 48uA = ~54 kOhm |
A standard 47 kOhm or 56 kOhm resistor is suitable to ensure saturation. Always add a flyback diode across the relay coil.
Related Sensors & Semiconductors Products
Discover quality sensors & semiconductors products related to BC817-40 Transistor: Specifications, Typical Circuits, and Local Applications
Fgh40n60sfdtu Transistor Igbt 600v 40a 290w To247ab
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
Ms53-3 Transistor Pad For To5 Od=9,2 X 3mm
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
Stgwa40h65dfb2 Transistor Igbt 650v 40a To247
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
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
Mlw44 | Transistor Pad - To220/to219/to202
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)
2n5551 Transistor Si-n 180v 0.6a 0.31w Vid.
2n5551 Transistor Si-n 180v 0.6a 0.31w Vid.
Bu931p Transistor N 400v 500v 15a 135w To247
Bu931p Transistor N 400v 500v 15a 135w To247
Amplifier and Logic Level Applications
For audio or signal amplification, the BC817-40's high gain makes it ideal for single and multi-stage transistor amplifiers in student lab experiments. When shifting logic between 5V and 3.3V systems, its low Vce(sat) and high ft ensure reliable, fast transitions without excessive heat build-up (typical in breadboard logic adapter circuits).
Pinout and SMD Footprint Guidance
The SOT-23 package footprint places the emitter, base, and collector across the three pins as follows (when viewed from above, marking facing up):
| Pin | Function |
|---|---|
| 1 | Base |
| 2 | Emitter |
| 3 | Collector |
For hobbyists hand-soldering, use tweezers and minimal flux to avoid thermal damage. In industry/prototyping, Communica's SOT-23 devices are compatible with standard reflow ovens and pick-n-place reels commonly used by PCB assemblers in South Africa.
Troubleshooting and Replacement Selection
Common issues in practice include open/shorted junctions from ESD or overcurrent, incorrect SMD orientation, and thermal overstress from exceeding package dissipation. To avoid these:
- Always use flyback diodes with inductive loads
- Keep within Ic, Vce, and Ptot limits; derate for high ambient temp
- Double-check pinout; SOT-23 footprints can be easily misoriented
- For supply chain continuity, BC817-25 or equivalents may be used at lower gain, but verify hFE specification in your BOM
For South African procurement teams, VAT invoices and local branch pickup are available. Lead times are typically 1-3 days for in-stock items; bulk orders or specialized manufacturer codes may require sourcing from international suppliers (usually 2-4 weeks).
Summary Table: BC817-40 vs Other BC817 Variants
| Variant | hFE Range | Common Use Case |
|---|---|---|
| BC817-16 | 100-250 | Standard switch, general amp |
| BC817-25 | 160-400 | Improved gain, microcontroller driver |
| BC817-40 | 250-630 | Low base current, logic/analog stages |
Locally Relevant Alternatives
Communica stocks a broad array of SMD and through-hole transistors, including S9013, S8050, 2N2222 equivalents, as well as complementary PNPs (such as BC807-40). Always consult datasheets before using alternatives.
Sources
Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.
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.
























