iLabs

Forces / Circuit builder

Electricity

Circuit builder

Build your own circuit — add up to 15 resistors, bulbs and capacitors, switch between series and parallel, set the battery's voltage and internal resistance, and press Show current flow to watch charge actually move through the wires. Every number is computed exactly from the standard circuit-theory formulas — see exactly which one is driving the result in the Formula in use panel below the circuit. The tabs after Series and Parallel switch the same playground to Kirchhoff's laws, RC charging, the bridges, the potentiometer, meters, cells and electron drift.

Load a ready-made circuit:
◫ Resistor
💡 Bulb
Capacitor

Tap a component above to arm it, then tap the dashed + slot to add it to the circuit (up to 15). Tap the × on any component to remove it.

t
SlotComponentValueVoltageCurrentPower / charge

Series vs parallel, in one sandbox

Series — one loop, one current. Every component carries the same current; the battery voltage splits across them in proportion to resistance (V = IR for each). Remove every component and the loop is open — nothing lights up, matching the real "one broken bulb kills the string" behaviour of old series fairy lights.
Parallel — every branch gets the full terminal voltage directly, and draws its own current independently (I = V/R). Removing a branch just means one fewer path; the others keep working exactly as before — the real reason household wiring is parallel, not series.
The capacitor is the odd one out: once a DC circuit reaches steady state a fully charged capacitor blocks current completely. In series, that stops current everywhere in the loop and the whole EMF appears across the capacitor (Q = CV). In parallel, only that branch goes to zero current — it just charges up to the terminal voltage while every other branch keeps flowing normally.
Internal resistance — a real cell isn't a perfect voltage source; it has some internal resistance r, so the voltage at its terminals drops below the EMF once current flows: V = E − Ir. Set r above zero and watch "Terminal voltage" fall away from "Battery EMF" as you add more components.
Exactly two idealisations, both disclosed: the bulb is a fixed 9Ω resistor (a real filament's resistance actually rises with temperature — modelling that needs a separate thermal simulation, not a shortcut in the circuit maths), and the wires plus the battery's EMF are ideal (no resistance of their own; every ohm you see comes from a component you placed or the internal-resistance slider). Every equation applied to whatever you build — Ohm's law, the series and parallel combination rules, Kirchhoff's laws, and the capacitor's DC steady-state behaviour — is solved exactly, with no fudge factors.

Part of Forces — see Learn for the class 10 & 12 electricity topics this maps to.

The physics behind it
Formulas used in this lab

Formula sheet — current electricity

Every formula from the class 12 current-electricity unit, in one place. The ones marked live plug in the numbers from the circuit you've built above.

Formulas for the circuit experiments

Kirchhoff's laws Class 12

Junction rule
ΣIin = ΣIout (conservation of charge)
Loop rule
Σ(EMF) = Σ(IR) round a closed loop (conservation of energy)
Sign convention
a resistor crossed along the current: −IR; a cell crossed from − to +: +E
Two cells, three resistors
VA = (E1/R1 + E2/R2) ÷ (1/R1 + 1/R2 + 1/R3)

Charging and discharging a capacitor Class 12

Time constant
τ = RC
Charging
q = CE(1 − e−t/RC); VC = E(1 − e−t/RC); I = (E/R)e−t/RC
Discharging
q = q0e−t/RC; I = −(q0/RC)e−t/RC
After τ, 5τ
63.2% and 99.3% charged; 36.8% and 0.7% left when discharging
Energy
stored ½CE2; the same amount is turned into heat in R

Wheatstone bridge, meter bridge, potentiometer Class 12

Balance of the bridge
P/Q = R/S, so S = QR/P (no current through G)
Meter bridge
R/S = l/(100 − l); S = R(100 − l)/l
Potential gradient
k = Vwire/L = IRw/L (volt per metre)
Balance on the wire
E = kl; E1/E2 = l1/l2
Internal resistance
r = R(l1 − l2)/l2

Ammeter, voltmeter and their errors Class 12

Shunt for an ammeter
S = IgRg/(I − Ig); RA = RgS/(Rg + S)
Series resistance for a voltmeter
R = V/Ig − Rg; RV = Rg + R
Voltmeter across R only
V/I = RRV/(R + RV), a little too small
Voltmeter across R and the ammeter
V/I = R + RA, a little too large

Cells in a battery, maximum power Class 12

n cells in series
Eeq = nE; req = nr
m cells in parallel
Eeq = E; req = r/m
n in series, m rows in parallel
Eeq = nE; req = nr/m; I = nE/(R + nr/m)
Power in the load
P = E2R/(R + r)2; greatest when R = r, Pmax = E2/4r
Efficiency
R/(R + r), which is 50% at maximum power

Resistivity and drift velocity Class 10 & 12

Resistance of a wire
R = ρL/A, A = πd2/4
Temperature
ρ(T) = ρ0[1 + α(T − T0)]
Current and drift speed
I = nAevd
Drift speed and mobility
vd = eEτ/m; μ = vd/E = eτ/m
Resistivity from the electrons
ρ = m/(ne2τ)
Ohm's law (microscopic)
J = σE, with σ = 1/ρ