FreeCircuitSim
April 2026Guided SimulationIntermediate

Build a Full-Wave Bridge Rectifier — Step by Step

A bridge rectifier converts AC (mains or transformer output) into pulsating DC. Add a filter capacitor and you have the front end of every mains-powered device. This is one of the most fundamental power electronics circuits in existence.

What you will learn: How four diodes convert AC to DC, why a bridge is better than a single diode, how to calculate output voltage and ripple, and how a filter capacitor smoothes the output.

Circuit Diagram — Bridge Rectifier

graph TD AC1["AC Input (+)"] --> D1["D1 (1N4007)"] AC2["AC Input (−)"] --> D3["D3 (1N4007)"] D1 --> DC_POS["DC+ Output"] D3 --> DC_POS AC1 --> D4["D4 (1N4007)"] AC2 --> D2["D2 (1N4007)"] D2 --> DC_NEG["DC− / GND"] D4 --> DC_NEG DC_POS --> LOAD["Load / Filter Cap"] LOAD --> DC_NEG style DC_POS fill:#1a3a2a,stroke:#00ff88,color:#00ff88 style DC_NEG fill:#161b1f,stroke:#5a7080,color:#5a7080 style AC1 fill:#1a3a4a,stroke:#00e5ff,color:#00e5ff

Step-by-Step Guide

STEP 1
Understand What the Bridge Does

A bridge rectifier uses four diodes arranged so that both half-cycles of AC appear as positive DC at the output. During the positive half-cycle, D1 and D2 conduct. During the negative half-cycle, D3 and D4 conduct — but current still flows through the load in the same direction.

💡 Think of a bridge rectifier like a roundabout: No matter which direction a car enters, it exits the same way. AC swings both positive and negative, but the four diodes route both directions so current always flows through the load in the same direction. One-way valves, arranged cleverly.

Compare this to a half-wave rectifier (one diode) which only passes one half-cycle, wasting half the available power. The bridge uses both halves, giving twice the output frequency and lower ripple.

▶ Simulate Bridge Rectifier ▶ Half-Wave Comparison
STEP 2
Calculate Output Voltage

Each diode drops approximately 0.7V when conducting. At any moment two diodes are in series, so total drop = 1.4V. The peak output voltage is:

V_DC_peak = V_AC_peak − 1.4V

For a 12V AC transformer (12V RMS), the peak AC is 12 × √2 = 16.97V. Peak DC output ≈ 16.97 − 1.4 = 15.57V

Average DC output (without filter cap) = 0.636 × V_DC_peak ≈ 9.9V

Why the 1.4V drop matters: When designing a power supply for a 12V regulated output, you need to account for the 1.4V diode drop plus the regulator dropout voltage. This determines the minimum transformer secondary voltage required.
STEP 3
Choose the Diodes

Each diode must handle the full load current and the reverse peak voltage. For a mains 230V AC supply:

  • Peak Inverse Voltage (PIV) per diode = V_AC_peak = 325V — use diodes rated at 400V or more
  • Current rating must exceed your load current
  • For most low-power DC supplies: 4 × 1N4007 (1A, 1000V PIV) is the standard choice
⚠️ Never use 1N4148 for mains rectification. The 1N4148 is rated 100V PIV and 0.3A. A mains rectifier applies 325V PIV across each diode during the off half-cycle. The 1N4148 will fail immediately — potentially dangerously. Always use 1N4007 or a purpose-built bridge rectifier package.
STEP 4
Add the Filter Capacitor

Without a filter capacitor, the DC output drops to zero 100 times per second (at 50Hz mains — twice per cycle). Add a large electrolytic capacitor across the output to smooth this ripple:

C_min = I_load / (2 × f × V_ripple)

Example: 500mA load, 50Hz supply, want less than 0.5V ripple: C = 0.5 / (2 × 50 × 0.5) = 10,000µF

Simulate it to see the difference — the output changes from a bumpy pulsating DC to a much smoother line.

▶ Rectifier with Filter Cap
⚠️ Polarity! The electrolytic filter capacitor must be connected with positive terminal to the DC+ output. Reversing it will destroy the capacitor, sometimes violently.
STEP 5
Add a Voltage Regulator (Complete Power Supply)

The filtered DC output still has residual ripple and varies with load current. Add a linear voltage regulator (LM7812 for 12V, LM7805 for 5V) after the filter capacitor to get a stable, regulated output.

The regulator needs: input voltage at least 2–3V above output (dropout voltage). So for a 12V regulated output, filtered DC must be at least 14–15V — which is why we calculated 15.57V peak earlier.

This is how every mains power supply works: Transformer → Bridge Rectifier → Filter Capacitor → Voltage Regulator → Output. The circuit you just built is the basis of every bench power supply, phone charger, and wall adapter made before switching supplies became dominant in the 2000s.
📍 Complete the guided circuit path
Continue Learning →
Next: Back to LED Flasher
Next: Back to LED Flasher →

Frequently Asked Questions

Why use a bridge rectifier instead of a single diode?
A single diode half-wave rectifier only passes one half of the AC cycle, wasting 50% of the available power. The output ripple frequency equals the AC frequency (50/60Hz). A bridge rectifier passes both halves, doubling the output ripple frequency (100/120Hz), which is easier to filter, and delivers more power to the load.
What is PIV (Peak Inverse Voltage)?
PIV is the maximum reverse voltage a diode must withstand without breaking down. In a bridge rectifier, during the half-cycle when a diode is not conducting, the full peak AC voltage appears across it in reverse. This determines the minimum voltage rating required for the diodes.
Can I buy a pre-made bridge rectifier?
Yes. Bridge rectifier modules (like the W10M, GBU4G, or MB6S) are single packages containing four diodes already wired in a bridge configuration. They are cheaper and more compact than using four discrete diodes. Available for currents from 0.5A to 50A.

Frequently Asked Questions

Why use a bridge rectifier instead of a single diode?
A bridge uses both AC half-cycles so output ripple is at 100Hz (2× the AC frequency) rather than 50Hz, making it easier to filter. It also delivers more average power to the load.
What diodes should I use for a mains bridge rectifier?
Use 1N4007 diodes: 1A current rating, 1000V PIV. Each diode must withstand the full AC peak voltage in reverse (325V for 230V RMS mains). Never use signal diodes like the 1N4148 (rated 100V) in mains circuits.
How do I calculate the filter capacitor value?
C = I_load / (2 × f × V_ripple). For 500mA load at 50Hz with 0.5V ripple: C = 0.5 / (100 × 0.5) = 10,000µF. Use an electrolytic capacitor rated above the DC peak output voltage.
← Back to All Guides