Capacitive Transformerless Power Supply Calculator

Design a capacitive dropper transformerless power supply. Calculate X-rated capacitor, surge resistor, zener, and component ratings.

Design a capacitive (transformerless) power supply with X-rated dropping capacitor. For low-power, non-isolated applications only.

⚠ Safety Warning: Capacitive power supplies are NOT isolated from mains. They are suitable only for enclosed, non-touchable circuits. Never use for applications where a user can contact the output.
V
V
A
Hz
V
Dropping Capacitor
1.00 µF
Nearest X2 cap: 1 µF
Cap Voltage Rating
≥ 500 VAC
Peak mains: 325.27V × 1.5× margin
Reactance Required
3,194.69 Ω
Xc = (V_peak − V_z − 0.7) / I_out
Surge Resistor
100 Ω
Power: 1.00W — use 1W or 2W wirewound
Zener Power
0.77W
Use zener rated ≥ 1.5W
Efficiency
~2.2%
P_out = 0.500W
Component Summary
C1: 1 µF / 500V X2-rated film capacitor
R1: 100Ω / 2W surge-limiting resistor
R2: 230.00kΩ / 0.5W bleeder resistor
D1: Zener 5.1V / 1.5W
D2: 1N4007 (×4 for bridge) or single for half-wave
C2: 100µF / 10V electrolytic (filter)
F1: 0.30A fuse (3× rated current)

X2 Capacitor Selection Table

Cap (µF)Xc at 50HzMax Current (mA)Suitable
0.131,830.99 Ω10.0
0.2214,468.63 Ω22.1
0.339,645.75 Ω33.1
0.476,772.55 Ω47.2
0.684,681.03 Ω68.2
13,183.10 Ω100.4
1.52,122.07 Ω150.5
2.21,446.86 Ω220.8
3.3964.58 Ω331.2
Planning notes, formulas, and examples

About the Capacitive Transformerless Power Supply Calculator

A capacitive transformerless power supply (capacitive dropper) uses the reactance of a capacitor to limit current from mains voltage instead of a transformer. By choosing the right X-rated capacitor, you can step down 120V or 230V mains to a low-voltage DC output for small loads — LEDs, microcontrollers, relays, and sensors.

The key component is an X2-rated film capacitor connected in series with the mains. Its reactance Xc = 1/(2πfC) limits the current to I = V/Xc, where V is the mains voltage minus the output voltage. A zener diode regulates the output, a bridge rectifier converts AC to DC, and a filter capacitor smooths the ripple.

This calculator sizes all components: the dropping capacitor, surge-limiting resistor, bleeder resistor, zener diode, and filter capacitor. It includes safety warnings and voltage rating requirements, because these circuits are NOT isolated from mains — they must only be used in enclosed, non-touchable applications.

When This Page Helps

Capacitive dropper circuits are cheap, compact alternatives to transformers for low-power applications inside sealed enclosures. However, incorrect component selection can be dangerous — undersized capacitor voltage ratings, missing surge protection, or inadequate zener power dissipation can cause fires or electric shock.

This calculator automates the design process, selecting the correct X2 capacitor value and voltage rating, surge resistor, bleeder resistor, zener diode, and filter capacitor. It includes safety warnings and a comparison table of standard X2 capacitor values.

How to Use the Inputs

  1. Enter the mains voltage (120V for US, 230V for EU).
  2. Enter the desired output voltage and current.
  3. Enter the line frequency (60 Hz US, 50 Hz EU).
  4. Set the zener voltage slightly above the output voltage.
  5. Choose a voltage safety margin for the capacitor rating.
  6. Review the component values and selection table.
Formula used
Xc = 1/(2πfC). Required C = 1/(2πf × Xc). Xc = (V_peak − V_zener − V_diode) / I_out. V_peak = V_rms × √2. Capacitor voltage rating ≥ V_peak × safety margin.

Example Calculation

Result: 0.98 µF dropping capacitor, ≥ 400V X2 rated

For 230V/50Hz mains and 5V/100mA output: V_peak = 325V. Xc = (325 − 5.1 − 0.7) / 0.1 = 3193Ω. C = 1/(2π × 50 × 3193) = 0.997 µF ≈ 1.0 µF X2 capacitor rated at ≥ 400VAC.

Tips & Best Practices

  • Always use X2-rated film capacitors — never ceramic or electrolytic capacitors across mains.
  • The output shares a ground with mains — use an isolation transformer for the oscilloscope when debugging!
  • Add a 1MΩ bleeder resistor across the X2 capacitor to discharge it when power is removed.
  • Use a fusible resistor or proper fuse as the first component after mains entry.
  • For 50/60 Hz dual-frequency operation, design for 50 Hz (lower frequency = higher reactance = less current).

How Capacitive Dropper Circuits Work

The capacitor in series with the mains acts as a current limiter. Unlike a resistor, which converts excess energy to heat, a capacitor stores energy during one part of the cycle and returns it during the next. The voltage across the capacitor shifts 90° out of phase with the current, meaning power dissipation is ideally zero.

The maximum current available is I = V_rms / Xc, where Xc = 1/(2πfC). By choosing C, you set the current limit. A zener diode clamps the output voltage, and any excess current is diverted through the zener. This is why zener power rating is critical — it must handle the full output current at the zener voltage.

Component Selection Guide

**Dropping Capacitor (C1):** Must be X2-rated for across-the-line use. Voltage rating must exceed V_peak × safety margin. Use polypropylene film type — they self-heal from minor breakdowns and fail safely open-circuit.

**Surge Resistor (R1):** A 47-150Ω wirewound resistor limits inrush current. It must handle the peak inrush for several cycles. Some designs use an NTC thermistor instead, which has low resistance when warm (normal operation) and high resistance when cold (startup).

**Bleeder Resistor (R2):** Required by safety standards to discharge C1 when mains is disconnected. Typical value 1MΩ, which discharges a 1µF capacitor with time constant τ = 1 second.

Safety Considerations

Capacitive dropper supplies are used in billions of devices (LED bulbs, IoT sensors, appliance controls) but are inherently dangerous due to the lack of isolation. Key safety requirements: double-insulated enclosure, proper fusing, X-rated capacitor, bleeder resistor, and creepage/clearance distances meeting IEC 60950 or equivalent standards.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The output is NOT isolated from mains — there is a direct electrical connection. These supplies must only be used inside sealed enclosures where no one can touch the circuit. They are common inside appliances but never for external/user-accessible circuits.