Home / Science / Chemistry / Electrochemistry and battery science / Impedance (EIS) equivalent circuit fitterTool #111

EIS fitter: Nyquist and Bode plots with equivalent circuit fitting (Randles, CPE, Warburg)

Paste or open an electrochemical impedance spectrum and fit an equivalent circuit (R(RC), R(RQ), Randles with Warburg diffusion, two-arc R(RQ)(RQ) or a blocking CPE) by complex non-linear least squares. Get each element with its error, the effective capacitance, time constants, exchange current density and a comparison of all circuits.

Keep it one tap away for everyday use.

Bookmark Impedance (EIS) equivalent circuit fitter?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Spectrum
  2. Circuit
  3. Fit
  4. Nyquist
Nothing is uploadedWorks offline once open

Impedance spectrum

Most instruments export Z″ as a negative number (a capacitive cell), and some export −Z″. The tool detects which from the data. The fit is weighted by |Z|, so every frequency counts by its relative error, as is usual for impedance data.

Compare circuits

Prefer the simplest circuit that fits within the noise and whose values are all well defined. A better fit from more elements is not proof that they exist.

Download

What it does

Electrochemical impedance spectroscopy (EIS) applies a small AC signal over a range of frequencies and records the complex impedance Z = Z′ + jZ″. The result is plotted two ways. A Nyquist plot shows −Z″ against Z′, where each process makes a semicircle. A Bode plot shows |Z| and the phase against frequency. To put numbers on the processes, you fit an equivalent circuit.

This tool fits five common circuits:

  • R(RC): solution resistance Rs in series with a charge-transfer resistance Rct in parallel with the double-layer capacitance C. It gives one ideal semicircle.
  • R(RQ): the same circuit with a constant phase element (CPE) in place of the capacitor. A CPE has Z = 1/(Q(jω)^α) and gives the depressed semicircle seen on real, rough electrodes.
  • Randles, R(Q(RW)): adds a Warburg element in series with Rct, for semi-infinite diffusion. The semicircle is followed by a 45° line at low frequency.
  • R(RQ)(RQ): two arcs, for example a film or SEI layer plus charge transfer in a battery. The faster arc is listed first.
  • RQ: a blocking electrode or an intact coating, with no charge transfer.

The fit is complex non-linear least squares weighted by |Z|, so each frequency counts by its relative error. It starts from several guesses read off the spectrum. You get:

  • every value with its standard error
  • the rms error of the fit
  • the effective capacitance of each CPE (Hsu–Mansfeld)
  • each arc’s time constant and peak frequency
  • Rct × area and the exchange current density i₀ = RT/(nF·Rct·A)
  • a table that fits every circuit to your data, so you can compare them

How to use it

  1. Paste three columns or open a CSV, TSV or Excel file: frequency (Hz), Z′ and Z″ in ohms. If your file has |Z| and phase instead, choose that format.
  2. The tool detects whether the third column holds Z″ or −Z″. If the arc comes out upside down, set the sign yourself.
  3. Choose a circuit. Check the comparison table, and prefer the simplest circuit that fits within the noise with every value well defined.
  4. Enter the electrode area to get capacitance per cm², Rct × area and i₀.

Worked example

The example is a simulated Randles cell: Rs 20 Ω, Rct 100 Ω, Q 20 µF·s^(α−1) with α = 0.9, σ = 30 Ω·s^−½, and 0.4 % noise, measured from 100 kHz down to 30 mHz. The Randles fit returns Rs 19.98 Ω, Rct 100.1 Ω, Q 20.04 µF·s^(α−1), α 0.900 and σ 29.99, with a 0.08 % rms error. For a 3 mm disc (0.0707 cm²):

  • the effective capacitance is 10.02 µF (142 µF/cm²)
  • the time constant is 1.0 ms, so the arc peaks near 159 Hz
  • i₀ is 3.6 mA/cm²

The one-arc circuits miss by about 10 %, because they cannot follow the diffusion tail. The two-arc circuit runs one resistance off to infinity, so it is flagged as not pinned down.

Questions

Why is my α below 0.8? Rough or porous electrodes, uneven current distribution or a distribution of time constants all lower α. Below about 0.5, the element behaves more like diffusion than a capacitor.

Some high-frequency points sit below the axis. At high frequency, cable and cell inductance makes Z″ positive, so −Z″ dips below zero. Leave those points out, because none of these circuits contains an inductor.

Is anything sent anywhere? No. Your data stays in your browser, and the page works offline once loaded.

Where the numbers come from

  • Circuit elements and fitting: standard impedance theory (resistor, capacitor, constant phase element, semi-infinite Warburg) with modulus-weighted complex non-linear least squares.
  • Effective capacitance of a CPE: the formula of Hsu and Mansfeld (2001).
  • Faraday and gas constants: CODATA (NIST).
  • Example spectrum: simulated by fibub.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-08.

Change log for Impedance (EIS) equivalent circuit fitter

  1. Add the impedance (EIS) equivalent circuit fitter (#111) Details on GitHub

Every change to fibub

Related tools

Cyclic voltammetry analyser #90 Paste or open a cyclic voltammogram for peak potentials and currents with a baseline, ΔEp, E½, Ep − Ep/2 and Nicholson's peak ratio; solve the Randles–Sevcik equation for D, concentration or area; and fit a scan-rate study. Nernst and cell potential calculator #96 Electrode potentials at any concentration, pH and temperature by the Nernst equation, and full galvanic cells: E°cell, Ecell, the balanced cell reaction, cell notation, ΔG, K and Q. Pick from 44 standard half-reactions or type your own, and convert potentials between SHE, SCE, Ag/AgCl and RHE. Battery cycling data analyser #104 Paste or open per-cycle charge and discharge capacities for first-cycle efficiency, average coulombic efficiency, retention, fade per cycle and cycles to 80 %. Paste one voltage curve for incremental capacity (dQ/dV) and its peaks. Works with exports from any cycler. Corrosion rate from Tafel plots #105 Paste or open a potentiodynamic polarisation scan for Ecorr, icorr and both Tafel slopes by Tafel extrapolation, a Wagner–Traud fit and Stern–Geary (Rp), then the corrosion rate in mm/y and mpy by ASTM G102. Also works out weight-loss coupon rates. Electroplating and electrolysis calculator #97 Plating thickness from current, time and area, or the time or current needed for a thickness, for copper, nickel, zinc, chrome, silver, gold, tin and more (or your own metal), with current efficiency, current density in A/dm² and ASF, plating rate, mass and charge. Also gas volumes from electrolysis of water or brine. Crystal field and spin state calculator #93 Pick a d-block metal ion and a geometry (octahedral, tetrahedral, square planar, square pyramidal), give Δ and the pairing energy or an absorption band, and get the d-orbital diagram, high or low spin, CFSE, unpaired electrons, spin-only moment and the Jahn–Teller tendency.