Electronics

DC Power Supply Calculator — Size Watts & Amps Correctly

Calculator Free · Private
Reviewed by: (política editorial ) · Last reviewed:
Was this calculator helpful?

This calculator determines the recommended wattage and amperage for a DC power supply given your circuit's total load and a safety margin. It applies Ohm's Law (P = V × I) in reverse: knowing total power draw (W) and rail voltage (V), it computes required current (A), then scales that figure by a safety factor (typically 1.2–1.5×) to prevent thermal stress, voltage sag, and premature failure. Use it whenever you're selecting a wall adapter, bench supply, or embedded regulator for electronics projects, LED strips, 3D printers, routers, Raspberry Pi clusters, or any DC-powered system.

Last reviewed: June 3, 2026 Verified by Source: NIST Handbook 44 — Specifications, Tolerances, and Other Technical Requirements, U.S. Department of Energy — Energy Efficiency Standards for External Power Supplies (10 CFR Part 430), Wikipedia — Switched-mode power supply, Wikipedia — Ohm's Law 100% private

To size a DC power supply: divide total load watts by rail voltage to get minimum amps (I = P / V), then multiply by a safety factor of 1.25–1.3 to get the recommended amperage. Example: 30W load at 12V → 30 / 12 = 2.5A minimum → × 1.3 = 3.25A recommended → choose a standard 12V 4A (48W) supply. Never run a power supply at 100% of its rated output.

When to use this calculator

  • Sizing a 12V power supply for a custom LED strip installation (e.g., 5m of 14.4W/m LED strips = 72W load → 72 × 1.25 = 90W → choose 12V 8A/96W adapter)
  • Selecting a 5V USB-C power brick for a Raspberry Pi 4 cluster drawing up to 15W under full CPU load, plus a 5W hat, totaling 20W → 20 × 1.3 = 26W → choose 5V 6A (30W) supply
  • Choosing a 24V PSU for a desktop 3D printer with a 200W heated bed, 40W hotend, and 30W stepper drivers (270W total) → 270 × 1.2 = 324W → choose 24V 15A (360W) supply
  • Powering a network rack with a router (18W), a managed switch (12W), and a NAS (35W) from a single 12V DC rail (65W total) → 65 × 1.3 = 84.5W → choose 12V 8A (96W) supply
  • Dimensioning a 5V regulated supply for an Arduino Mega with three servo motors at 1A each stall current plus 0.5A for the board (3.5A × 5V = 17.5W) → 17.5 × 1.25 = 21.9W → choose 5V 5A (25W) adapter

Example

  1. V = 12, loads = 30W, factor = 1.3
  2. Recommended power = 30 × 1.3 = 39W
  3. Amperage = 39 / 12 = 3.25A
  4. Recommended supply: 12V 4A (48W, standard)
Result: 12V 4A (48W) power supply with adequate margin

How it works

3 min read

How It's Calculated

The calculator is built on Ohm's Law and the fundamental DC power equation:

P = V × I          →  I = P / V

Step 1 — Recommended wattage:
  P_recommended = P_load × safety_factor

Step 2 — Recommended amperage:
  I_recommended = P_recommended / V

Step 3 — Minimum amperage (no margin):
  I_minimum = P_load / V

Example (12V rail, 30W load, 1.3 safety factor):
  P_recommended = 30 × 1.3 = 39 W
  I_recommended = 39 / 12  = 3.25 A  → choose next standard: 4 A (48 W)
  I_minimum     = 30 / 12  = 2.50 A

The safety factor accounts for: efficiency losses in the supply itself (typically 80–92%), current inrush at startup, load fluctuations, component aging, and thermal derating at elevated ambient temperatures. NIST and IEC 61558 both recommend operating linear and switching PSUs at no more than 70–80% of rated continuous output.

---

Reference Table — Common DC Rails & Standard Supply Ratings

VoltageTypical ApplicationCommon Standard Ratings
3.3 VMCU logic, IoT sensors3.3V 2A (6.6W), 3.3V 5A (16.5W)
5 VArduino, Raspberry Pi, USB hubs5V 2A (10W), 5V 3A (15W), 5V 5A (25W), 5V 10A (50W)
9 VSmall routers, audio pedals9V 1A (9W), 9V 2A (18W), 9V 3A (27W)
12 VLED strips, CCTV, NAS, fans12V 2A (24W), 12V 5A (60W), 12V 8A (96W), 12V 10A (120W), 12V 20A (240W)
19 VLaptop chargers, some SBCs19V 3.42A (65W), 19V 4.74A (90W), 19V 6.32A (120W)
24 V3D printers, CNC, industrial24V 5A (120W), 24V 10A (240W), 24V 15A (360W), 24V 20A (480W)
48 VPoE switches, telecom, e-bikes48V 2A (96W), 48V 5A (240W), 48V 10A (480W)

> Rule of thumb: Always pick the next available standard rating above your calculated I_recommended. Running a PSU at exactly its rated maximum accelerates aging and voids most warranties.

---

Typical Cases

Case 1 — LED Strip Installation (12V)


  • Strip spec: 14.4 W/m × 5 m = 72 W total load

  • Safety factor: 1.25 (LED loads are relatively stable)

  • P_recommended = 72 × 1.25 = 90 W

  • I_recommended = 90 / 12 = 7.5 A

  • Next standard rating: 12V 8A (96W)
  • Case 2 — 3D Printer (24V, Creality Ender-style)


  • Heated bed: 200W | Hotend heater: 40W | Stepper drivers + fans: 30W → Total: 270W

  • Safety factor: 1.2 (switching loads with firmware PWM control)

  • P_recommended = 270 × 1.2 = 324 W

  • I_recommended = 324 / 24 = 13.5 A

  • Next standard rating: 24V 15A (360W)
  • Case 3 — Raspberry Pi 4 Cluster (5V, 4 nodes)


  • Per node: 5W idle, 7.5W load, USB peripherals 2.5W → 10W/node × 4 = 40W

  • Safety factor: 1.3 (bursty CPU workloads)

  • P_recommended = 40 × 1.3 = 52 W

  • I_recommended = 52 / 5 = 10.4 A

  • Next standard rating: 5V 12A (60W) with a powered USB hub distribution ✓
  • ---

    Common Mistakes

    1. Ignoring the PSU's own efficiency loss. A 90W-rated adapter that is only 82% efficient actually draws ~110W from the wall and may only reliably deliver 90W under ideal conditions. Always check the efficiency label (80 PLUS Bronze = ≥82%, Gold = ≥87%, Platinum = ≥90%).

    2. Confusing peak (inrush) current with steady-state current. Motors, solenoids, and capacitive loads can draw 3–10× their rated current at startup. Size for inrush, not steady-state only, or add a soft-start circuit.

    3. Adding up milliamp specs from datasheets at different voltages. A device that draws 500mA at 5V and another at 12V cannot be simply added — convert everything to watts first (P = V × I), sum the watts, then size your single-rail supply.

    4. Using a safety factor below 1.2. Operating any switching PSU above 80% continuous load reduces MTBF (Mean Time Between Failures). The NIST Handbook 44 and most PSU datasheets explicitly state derating curves; at 100% load and 40°C ambient, output current can drop 20–30%.

    5. Neglecting wire gauge and voltage drop. Even a correctly sized PSU can starve your load if the wire run is long. At 12V, a 5-meter run of 22AWG wire carrying 5A drops ~1.7V — that's 14% of rail voltage. Use the AWG voltage-drop formula: V_drop = 2 × L × I × R_per_meter.

    6. Assuming all "12V 5A" adapters are equal. Unregulated wall warts can sag 15–30% under load; regulated switching supplies maintain output within ±2–5%. Always verify the label says "regulated" or check the spec sheet.

    ---

    Related Calculators

  • Ohm's Law Calculator

  • Voltage Divider Calculator

  • Wire Gauge & Current Capacity Calculator

  • LED Resistor Calculator

  • Battery Life & Capacity Calculator
  • Frequently asked questions

    What safety factor should I use?

    For stable resistive loads (heaters, incandescent bulbs), 1.2 is sufficient. For mixed or switching loads (motors, LED drivers, computers), use 1.25–1.3. For highly variable or inductive loads (solenoids, relays, large motors), use 1.4–1.5. NIST and IEC 61558 guidelines recommend keeping continuous PSU load at or below 70–80% of rated output, which corresponds to a factor of 1.25–1.43.

    Why must I convert everything to watts before summing loads?

    Because watts (P = V × I) are the only additive unit across different voltage rails. Adding amperes from different voltages is meaningless: a 2A draw at 5V (10W) and a 2A draw at 12V (24W) total 34W, not 4A of anything. Always convert each device's consumption to watts, sum those, then divide by your supply voltage to get the required current.

    What is the difference between regulated and unregulated power supplies?

    A regulated supply uses feedback circuitry (linear regulator or switching controller) to hold output voltage within ±2–5% under varying load. An unregulated supply's output voltage sags proportionally with load current — commonly 15–30% below the no-load rating at full load. For digital electronics (microcontrollers, single-board computers, LED drivers), always use a regulated supply.

    How does ambient temperature affect my power supply's output?

    Switching PSUs are thermally derated above a specified ambient temperature (typically 40–50°C). A 100W supply rated at 40°C may only deliver 70–80W at 60°C ambient. This is especially relevant in enclosed enclosures or outdoor installations in hot climates. Always add 10–15% extra margin if the supply will operate above 40°C, or choose a supply with active cooling.

    Can I run multiple devices from one power supply in parallel?

    Yes, as long as the total current draw does not exceed the PSU's rated output and all devices share the same voltage rail. Use a properly rated terminal block or distribution board. Never simply twist wires together for high-current connections; each branch should be individually fused to protect against short-circuit currents. The PSU sees only the total combined current, regardless of how many loads are connected.

    What wire gauge should I use for the current my supply will deliver?

    The NEC (National Electrical Code) and AWG standards define ampacity: 22AWG handles ~0.9A, 20AWG ~1.5A, 18AWG ~2.3A, 16AWG ~3.7A, 14AWG ~5.9A, 12AWG ~9.3A, and 10AWG ~15A for chassis wiring at 60°C insulation rating. For DC runs longer than 2 meters, also calculate voltage drop (V_drop = 2 × L(m) × I(A) × resistance_per_meter) and upsize the gauge to keep drop below 3% of rail voltage.

    Is a 12V 10A supply the same as a 12V 5A supply run at half load?

    Electrically, a 12V 10A supply running a 5A load is perfectly fine — PSUs can operate anywhere from 0% to 100% of rated current. In fact, many switching PSUs achieve peak efficiency at 50–80% load. A larger supply may run cooler, last longer, and provide headroom for future load additions. The only downsides are slightly higher cost and physical size.

    What does the minimum amperage output (no safety margin) represent?

    The minimum amperage (I_min = P_load / V) is the theoretical current your loads require under steady-state conditions with zero margin. It represents the absolute floor — a PSU rated exactly at this value would run at 100% capacity, risking thermal shutdown, accelerated aging, and voltage sag under any transient load spike. It is shown for reference only; always select a supply at or above the recommended (derated) amperage value.

    Do power supplies consume power when nothing is connected (no-load power)?

    Yes. Most switching power supplies draw 0.1–0.5W at no load due to their internal control circuitry, even with zero output current. The US Department of Energy's energy efficiency standards (10 CFR Part 430) regulate no-load power for external power supplies sold in the US: products must consume ≤0.5W (≤49W rated) to ≤0.5W (≥250W rated). This is relevant for always-on wall adapters that are permanently plugged in.

    Sources and references