Get quote
Menu

0% complete

Blogs

7812 Pinout: Pin Diagram, Pin Functions and Typical Circuit

7812 pinout with the TO-220 pin diagram, front view pin order, tab connection, a typical regulator circuit, and why the 7912 pinout is not the same.

7812 pinout

For a 7812 in the standard TO-220 package, hold the marked face toward you with the leads pointing down. The pins run left to right as 1 Input, 2 Ground, and 3 Output. The metal tab is also connected to pin 2, Ground.

PinNameFunction
1InputConnect to the positive unregulated DC input
2GroundCommon return for the input supply, output, and bypass capacitors
3OutputRegulated positive 12 V output for a 7812 device
Metal tabGroundElectrically connected to pin 2 on the onsemi TO-220 package
7812 TO-220 pin functions, front view with the marked face toward the reader and leads downward.

Check the complete part marking and its manufacturer datasheet before layout. Surface-mount packages and other 78L12 or 78M12 families are not covered by this TO-220 drawing.

Front-view 7812 TO-220 pinout with the marked face toward the viewer and leads downward: pin 1 input, pin 2 ground, pin 3 output, and metal tab connected to ground
7812 TO-220 pinout, front view. From left to right the pins are Input, Ground, and Output. The metal tab connects to pin 2, Ground.

Typical 7812 Application Circuit

The manufacturer fixed-output circuit uses one capacitor at the input and one at the output. Both return to pin 2.

PartValue or roleConnection
Input supplyPositive DC sourceConnect to pin 1
CIN0.33 µFConnect from pin 1 to pin 2, close to the regulator
GroundCommon returnConnect to pin 2
COUT0.1 µFConnect from pin 3 to pin 2, close to the regulator
Load12 V loadConnect between pin 3 and pin 2
Typical fixed-output 7812 connections based on the TI µA78xx application circuit.

Keep the input high enough to preserve regulation under load and at the low point of any input ripple. Do not use the absolute maximum input rating as a normal design target.

How to Read the 7812 TO-220 Pinout

Pin numbering depends on the stated view. The diagram above is a front view, not a PCB-side or rear view. Rotating the package reverses the apparent left-to-right order.

The grounded tab is an electrical connection as well as a thermal surface. A bare shared heatsink or metal fastener can connect pin 2 to the chassis. Use electrical isolation when the heatsink must remain separate from circuit ground.

See the onsemi MC7800 datasheet for the TO-220 pin and tab drawing.

ST L7812C Specifications

These values are for the ST L7812C in DS0422 Rev 38. They are not generic limits for every device sold with 7812 in its marking. Use the datasheet for the exact manufacturer and suffix on the installed part.

ParameterST L7812C valueConditions
Nominal output voltage12 VVIN = 19 V, IO = 500 mA, TJ = 25°C, CI = 0.33 µF, CO = 0.1 µF
Output voltage range11.4 V to 12.6 VIO = 5 mA to 1 A, VIN = 14.5 V to 25 V, TJ = 0°C to 125°C
Typical dropout voltage2 VIO = 1 A, TJ = 25°C
DC input absolute maximum35 VL78 outputs from 5 V through 18 V
Minimum load current for regulation5 mAST table note
Quiescent current8 mA maximumTJ = 25°C
Load regulation240 mV maximumIO = 5 mA to 1.5 A, TJ = 25°C
Selected ST L7812C electrical characteristics and limits, with test conditions retained.

Primary source: ST L78 datasheet, DS0422 Rev 38.

The 35 V figure is an absolute maximum. It does not mean the device will regulate at 35 V under every load and thermal condition. The ST table specifies output regulation over 14.5 V to 25 V at 5 mA to 1 A.

7812 vs 7912 Pinout

A 7912 is not pin-compatible with a 7812. In the onsemi TO-220 drawings, the 7812 order is Input, Ground, Output. The 7912 order is Ground, Input, Output. Both drawings connect the metal tab to pin 2, so the two tabs are at different electrical nodes.

TO-220 devicePin 1Pin 2Pin 3Metal tab
7812 positive regulatorInputGroundOutputPin 2, Ground
7912 negative regulatorGroundInputOutputPin 2, Input
Front-view pin order for onsemi MC7812 and MC7912 TO-220 regulators.

Do not place both packages on one bare shared heatsink unless the mounting system provides the required electrical isolation. Swapping the devices or footprints can short a rail or place input voltage on the wrong node.

See the onsemi MC7900 negative-regulator datasheet.

7812 Wiring and Input Headroom

Wire pin 1 to the positive DC input, pin 2 to the common return, and pin 3 to the 12 V load. Place the 0.33 µF input capacitor and 0.1 µF output capacitor close to the regulator, using the connection table at the top of this page.

The input source must remain above the regulation requirement at the lowest point of its ripple. The ST L7812C lists a typical 2 V dropout at 1 A and 25°C. That typical value is not a guaranteed design margin for every 7812 manufacturer, load, or temperature.

A dual-rail design needs a separate negative regulator with its own verified pinout. If the rails supply an op-amp, check the device requirements in the TL072 pinout guide before connecting either rail.

7812 Power Dissipation and Heatsink Checks

A linear regulator turns the input-to-output voltage difference into heat. Estimate the main load-related dissipation with P ≈ (VIN - VOUT) × IOUT, then include quiescent-current and worst-case effects in the thermal design.

For an 18 V input, 12 V output, and 0.5 A load, the load-related estimate is (18 V - 12 V) × 0.5 A = 3 W. That result requires a real junction-to-ambient thermal calculation. It is not evidence that any unverified heatsink is adequate.

  • Keep the exact part within its electrical and junction-temperature limits.
  • Size the heatsink from the manufacturer thermal data and the real ambient temperature.
  • Remember that the TO-220 tab is electrically connected to pin 2.
  • Do not rely on thermal shutdown or current limiting as normal operating controls.

7812 Applications

A 7812 provides local fixed positive-voltage regulation when the source, load, and thermal conditions match the exact device datasheet. The onsemi MC7800 datasheet identifies local, on-card regulation as an application.

If several loads share the regulated output, add every branch current before checking regulator dissipation and source capacity. The parallel circuit guide explains how branch currents combine.

Summary

For the standard TO-220 front view, the 7812 pin order is Input, Ground, Output, and the tab connects to pin 2. Use the typical fixed-output circuit with the input and output capacitors returned to pin 2.

Apply electrical values only from the datasheet for the exact marking. ST L7812C lists a 2 V typical dropout at 1 A and a 35 V absolute maximum input, but neither number is a universal design guarantee. A 7912 uses a different pin order, so verify both footprints before powering a dual-rail board.

Hommer Zhao

Founder, OurPCB

Hommer Zhao, based in Shijiazhuang, China, founded OurPCB in 2007, a PCB Manufacturing company.

As a regular contributor to Circuit World and the Journal of Manufacturing Systems, Hommer shares expertise on advanced PCB fabrication processes. His research on manufacturing optimization appears in the International Journal of Production Research and Journal of Industrial Information Integration.

Serving on the Indian Printed Circuit Association (IPCA) advisory board, Hommer Zhao frequently presents at technical seminars and industry exhibitions. He maintains strong partnerships with leading institutions including UCL's Electronic Engineering Department and their PCB prototyping facilities. Under his leadership, OurPCB has pioneered enhanced PCB manufacturing machining capabilities for high-precision PCB manufacturing, particularly serving telecommunications, automotive, and medical device sectors.

Step 1 of 3

Get a free quote

What can we build for you?

Choose a service to continue to step 2
Enter a different quantity

One file, up to 100 MiB. CAD, Gerber, documents or archives.

Quotes within 24 hours · No obligation

PCB project ready?

Get a free quote