Home › Calculators › DC Circuit Simulator

DC Circuit Simulator

Build a direct-current circuit on a grid, flip switches and watch the current move. Every change is solved instantly with modified nodal analysis, so ammeters, voltmeters, bulb brightness and the parts table always show the exact voltage, current and power.

Last updated:

Pick a part, then drag from one grid dot to another to place it. With Select, click a switch to flip it or drag a part to move it.

PartTypeValueVoltageCurrentPower
Advertisement
Advertisement

How to use the DC Circuit Simulator

  1. Start from an example such as bulbs in parallel or a voltage divider, or choose Blank board to draw your own.
  2. Pick a part in the toolbar and drag from one grid dot to another to place it. Draw a battery from its negative end to its positive end.
  3. Connect everything with wires. Wires join at their ends and wherever another part ends on them.
  4. Click a part with Select to change its resistance, voltage or bulb rating, flip it or delete it. Clicking a switch opens or closes it.
  5. Read the results from the meters on the board, the summary panel and the parts table, then download a PNG or save the circuit file.

The rules the simulator solves

Every DC circuit on the board obeys three laws, and the simulator writes them as one system of linear equations:

  • Ohm's law for each resistor and bulb: V = I × R, so the current through a part is the voltage across it divided by its resistance.
  • Kirchhoff's current law at each connection point: the currents flowing in equal the currents flowing out.
  • Kirchhoff's voltage law via each battery: the voltage between its terminals is E − I × r, where r is the internal resistance.

The negative terminal of the first battery is taken as 0 V (marked on the board), and all node voltages are measured from there. Power is P = V × I = I² × R; a positive power on a battery means it is delivering energy, a negative one means another battery is charging it.

Series vs. parallel at a glance

SeriesParallel
CurrentSame through every partSplits between branches; branch currents add up
VoltageDivides between parts; drops add up to the sourceSame across every branch
Total resistanceR = R1 + R2 + …1/R = 1/R1 + 1/R2 + …
One bulb removed or openEverything goes outOther branches stay lit
Try itExample “Series resistors”: 9 V ÷ 650 Ω ≈ 13.8 mAExample “Bulbs in parallel”: open the switch or delete a bulb

Experiments to try

  • Voltage divider: the output is Vin × R2 ÷ (R1 + R2). With 12 V, 10 kΩ and 4.7 kΩ the voltmeter reads about 3.84 V. Add a 4.7 kΩ “load” across R2 and watch the output sag.
  • Balance the bridge: in the Wheatstone bridge example, change the 1.2 kΩ resistor to 1 kΩ. The ammeter drops to zero when R1/R3 = R2/R4.
  • Batteries in parallel: a 9 V and a 6 V cell with 1 Ω internal resistance each feed a 10 Ω load. The 6 V battery ends up being charged, which is why mismatched cells should never be paralleled.
  • Maximum power: give a battery an internal resistance and vary a load resistor; the load gets the most power when its resistance equals the internal resistance.

Frequently asked questions

How does the circuit simulator calculate the currents?

It uses modified nodal analysis, the same method used by SPICE-style simulators. Kirchhoff's current law is written for every connection point, Ohm's law for every resistor and bulb, and one extra equation for every battery. The resulting linear system is solved exactly each time you change something.

Which way do the moving dots go?

By default the dots show conventional current, flowing out of the battery's positive terminal and back into the negative terminal. Tick Electron flow to see the electrons, which move the opposite way. The dot speed grows with the size of the current on a logarithmic scale so both milliamps and amps are visible.

How are bulbs modelled?

Each bulb is a fixed resistance calculated from its rating, R = V² ÷ P, so a 6 V 3 W bulb is 12 Ω. Its brightness on the board follows the power it actually receives compared with its rated power. Real filaments have lower resistance when cold, so the simulator is a good approximation once the bulb is lit.

Are the ammeter and voltmeter ideal?

Yes. The ammeter behaves like a wire with practically zero resistance, and the voltmeter draws no current at all. Place an ammeter in series with the part you want to measure and a voltmeter across it, in parallel. The voltmeter shows the voltage at its + end minus the voltage at its other end.

What happens if I short-circuit a battery?

Wires are modelled with a tiny resistance, so a battery connected only through wire produces a huge current. The battery turns red and a warning appears. Set an internal resistance on the battery to see a realistic short-circuit current, which is the battery voltage divided by that internal resistance.

Can it simulate capacitors, diodes or AC?

No. This is a steady-state direct-current simulator for resistive circuits with batteries, bulbs, switches and meters, which covers series, parallel, voltage divider and bridge circuits used in school physics and basic electronics.

Is my circuit saved?

Your current board is stored only in this browser so it is still there when you return. Use Download circuit to keep a file you can open again later or share, and Download PNG to get a picture of the schematic.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Ohm's Law CalculatorSolve voltage, current, resistance and power from any two values.Series & Parallel Resistor CalculatorAdd resistors in series or parallel and find standard value combinations.Voltage Divider CalculatorVout from R1, R2 and Vin, with loaded and unloaded output.LED Resistor CalculatorFind the resistor for an LED, with nearest standard value and wattage.Resistor Color Code CalculatorRead 4, 5 and 6 band resistor colors, or find colors for a value.Electricity Cost CalculatorEstimate kWh usage and electricity costs.Capacitor Code CalculatorDecode 3-digit capacitor codes to pF, nF and µF, and back.Power Factor CalculatorCalculate power factor, kW, kVA and kVAR, and correction capacitor size.EV Charging Cost CalculatorCost to charge an electric car, per charge, per mile and per km.Battery Life CalculatorEstimate how long a battery lasts from its mAh or Wh and the load.555 Timer CalculatorAstable frequency, duty cycle and monostable pulse width for the NE555 timer.Wire Size CalculatorFind the AWG or kcmil wire size for a load from amps, distance, voltage and allowed voltage drop.Solar Panel CalculatorEstimate solar system size, number of panels and roof area from your monthly kWh and sun hours.Voltage Drop CalculatorVoltage drop in volts and percent for copper or aluminum wire, AWG or mm², 1- or 3-phase.RC Time Constant Calculatorτ = RC, charge % at 1-5τ, and capacitor charge or discharge voltage at any time t.Resonant Frequency CalculatorLC resonant frequency f = 1/(2π√LC), or solve the inductance or capacitance you need.Capacitor Series and Parallel CalculatorTotal capacitance of capacitors in series or parallel, plus stored energy ½CV² and charge.Generator Size CalculatorAdd appliance running and starting watts to find the generator size you need.LED Savings CalculatorYearly savings, kWh saved and payback time when switching old bulbs to LED.Battery Bank Size CalculatorSize a solar or off-grid battery bank: Ah, kWh and battery count from daily Wh and autonomy.Battery Charge Time CalculatorHow long to charge a battery: mAh or Ah, charger current, efficiency and current charge %.Circuit Breaker Size CalculatorBreaker size from watts or amps, voltage and the 125% continuous rule, with a wire gauge.Conduit Fill CalculatorCheck conduit fill % against the NEC 40% limit for EMT, PVC, RMC and more, with pass/fail.Home Electrical Load CalculatorHome service load in VA and amps with NEC demand factors and a 100/150/200 A recommendation.EV Charging Time CalculatorHow long to charge an EV: battery kWh, charge levels and charger kW, with Level 1/2/DC presets.RLC Impedance CalculatorSeries or parallel RLC impedance, phase angle, resonant frequency and Q at any frequency.Inverter Size CalculatorFind the inverter size for your appliances: continuous watts, surge and battery current.ND Filter CalculatorLong exposure shutter speed for any ND filter in stops, ND number or density.Op Amp Gain CalculatorInverting, non-inverting or differential op amp gain in V/V and dB, with output voltage.PCB Trace Width CalculatorMinimum PCB trace width for a current per IPC-2221, for internal and external layers.RC Filter Cutoff CalculatorRC low-pass or high-pass cutoff frequency, solve R or C, with a Bode magnitude chart.Reactance CalculatorInductive and capacitive reactance at any frequency, or solve for L, C or frequency.SMD Resistor Code CalculatorDecode 3-digit, 4-digit and EIA-96 SMD resistor codes, or find the code for a value.Solar Panel Tilt Angle CalculatorBest fixed tilt, seasonal and monthly solar panel angles and direction for any latitude.Transformer Turns Ratio CalculatorSolve transformer voltage, turns or turns ratio, with primary/secondary current and VA.UPS Runtime CalculatorEstimate UPS battery backup time from battery V, Ah, count, efficiency and load, with Peukert.PC Power Supply CalculatorEstimate your PC's load watts and the PSU wattage you need, with efficiency running costs.Power to Weight Ratio CalculatorVehicle hp per tonne, lb per hp and kW/kg from power and weight; compare cars and bikes.Wire Resistance CalculatorWire resistance from material, AWG or diameter, length and temperature, plus voltage drop.Solar Charge Controller Size CalculatorSize an MPPT or PWM charge controller in amps from panel watts, Voc, Isc and battery voltage.4-20mA CalculatorScale a 4-20 mA signal to a process value and back, with percent and shunt voltage.Antenna Length CalculatorDipole, quarter-wave and 5/8-wave antenna lengths for any frequency or radio band.Battery Pack Calculator18650, 21700 or LiFePO4 series/parallel pack: voltage, Ah, Wh, max current and weight.E-Bike Range CalculatorEstimate e-bike miles or km per charge from battery Wh, assist level, weight, speed and hills.Lewis Structure GeneratorDraw Lewis dot structures with valence electrons, lone pairs, formal charges and VSEPR shape.LM317 CalculatorLM317 output voltage from R1 and R2, standard resistors for a target voltage, current limiter.Motor Full Load Current CalculatorFull load amps from motor hp or kW, voltage, phase, efficiency and power factor, with NEC values.Population Growth CalculatorExponential or logistic population growth over time with carrying capacity, table and chart.Rocket Launch ScheduleUpcoming orbital rocket launches with live countdowns, launch windows, pads and filters.Transformer Sizing CalculatorTransformer kVA needed from volts and amps or kW and PF, next standard size and full-load amps.
See all 51 Electrical & Electronics Calculators →