Mesh analysis calculator with steps

Updated

Draw your circuit, choose Mesh Current and Mesh Analysis, and Circuitsteps solves it step by step: the KVL equation around every mesh, the matrix they form, and every mesh current.

A two-mesh circuit
A two-mesh circuit Solve this circuit step by step →

Edit the circuit above, or draw your own, then select Solve step by step.

How to use the mesh analysis calculator

  1. Draw the circuit. Choose a part from the toolbar, then click and drag on the grid to place it. Connect the parts' ends, using wires where you need them. Draw it without crossing wires, as each enclosed window of the drawing is a mesh.
  2. Enter the values. Double-click a part to change its value, such as 2 Ω2\,\Omega or 12 V12\,\text{V}. Prefixes like k and m work too.
  3. Choose what to solve for: every mesh current, or just one mesh. The mesh numbers are shown on the circuit as you draw.
  4. Choose Mesh Analysis and solve. You don't need a reference node to find mesh currents.

What the solution shows

What it can solve

Circuits with resistors, independent voltage and current sources, dependent sources, and capacitors and inductors at DC (where a capacitor is an open circuit and an inductor is a short circuit). As well as mesh currents, it can find node voltages, branch currents and the voltage across any component, with mesh or nodal analysis.

Example

In the circuit above, mesh 1 is on the left and mesh 2 is on the right, both clockwise. They share the 4 Ω4\,\Omega resistor. Adding up the voltages around each mesh:

−12+2I1+4(I1−I2)=0-12 + 2I_1 + 4(I_1 - I_2) = 0
4(I2−I1)+2I2+2I2=04(I_2 - I_1) + 2I_2 + 2I_2 = 0

Simplified, these are 6I1−4I2=126I_1 - 4I_2 = 12 and −4I1+8I2=0-4I_1 + 8I_2 = 0, which give

I1=3 A,I2=1.5 AI_1 = 3\,\text{A}, \qquad I_2 = 1.5\,\text{A}

Solve this example in Circuitsteps to see every step.

Mesh or nodal analysis?

Mesh analysis finds mesh currents using KVL, and is usually quickest when a circuit has fewer meshes than nodes, or has voltage sources. Nodal analysis finds node voltages using KCL, and is usually quickest when it has more meshes than nodes, or has current sources. For circuits with controlled sources, see nodal analysis with dependent sources.

Frequently asked questions

Is the mesh analysis calculator free?

Yes. Circuitsteps is free to use, with no sign-up.

Does it show the steps?

Yes. It shows the KVL equation for each mesh, the equations simplified, the matrix they form, how the matrix is solved, and every mesh current. It can also go on to find the branch currents, node voltages and the voltage across each component.

Which way do the mesh currents go?

Every mesh current is clockwise. The meshes are found from your drawing, so each enclosed window of the circuit is one mesh.

Can it solve circuits with current sources and supermeshes?

Yes. A current source on the outside of the circuit sets its mesh current, and one shared by two meshes makes a supermesh, which is handled automatically. Dependent sources work too.

Does it work on a phone?

The circuit editor needs a larger screen, so use it on a laptop or desktop computer.

Stuck on a circuit? Get the full step-by-step solution.Solve it now →