Electrolysis Calculator

Find the mass an electric current deposits or dissolves at an electrode.

Eleven tabulated elements plus a custom constant, with five charge units and metric or imperial mass.

Updated October 14, 2026
Frank Zhao - Creator
CreatorFrank Zhao
Loading calculator…

What this calculator does

Electrolysis moves matter with electricity, and this calculator converts between the two: tell it the current you passed and how long you passed it, and it returns the mass of metal or gas that appeared at one electrode. It also runs the other way, so a target mass can be turned back into the charge, the current or the plating time.

The tool answers three related questions that keep coming up at the bench and on the shop floor.

  • How much will I deposit? Give a current and a duration — or a measured charge — and read the mass of the substance you selected.
  • How long do I have to run it? Give the target mass and the current your rectifier can hold, and the time is solved for you.
  • What is this substance worth electrochemically? Weigh the deposit you actually obtained, enter the charge that produced it, and switch the element menu to Custom: the calculator returns the equivalent you measured.

The mass is the amount moved at one electrode. In a plating tank the workpiece is the cathode and gains that mass, while an anode of the same metal dissolves to replace it, so the bath keeps its composition. Britannica's description of the plating circuit states the same three parts — the article as cathode, an anode of the same metal, and a low-voltage current depositing the metal from solution. Which electrode you care about depends on the job; the arithmetic is the same either way.

You do not need the cell voltage for any of this: the calculation is about charge, not about driving force. Whether the reaction runs at all at your applied voltage is a separate question, and the cell EMF calculator works that side out from the electrode potentials.

Who tends to use it

Plating shops and hobbyists sizing a run, electrorefining and metal-recovery work, chemistry students checking Faraday's laws with a bench supply, and anyone estimating how much gas a battery can liberate from water.

Running a calculation

Every run is the same four moves. The example below is a real copper plating job: 2 amperes for half an hour.

1

Choose the substance

Pick the metal or gas in the Element menu. Silver, copper, nickel, gold, iron, zinc, hydrogen, sodium, potassium, oxygen and aluminium are tabulated, and selecting one loads its electrochemical equivalent and locks that box, because the constant belongs to the substance rather than to your cell. Choose Custom instead when you want to type an equivalent of your own.

2

Enter the two quantities you know

Charge, current and time are linked by one equation, so any two of them determine the third: enter the current and the time, or the charge and the current, and so on. If you already know the deposit you obtained, enter the mass instead of the charge — the calculator will work out the charge that produced it.

3

Match the units to your equipment

A bench supply reads amperes or milliamperes, a timer reads minutes or hours, a plating rectifier may be specified in ampere hours, and a lab balance reads grams or milligrams. Set each box to the unit you actually have in front of you so you can type the reading straight in: 2 A and 30 min need no mental conversion.

4

Read the box that filled itself in

The value you left out appears automatically, and edits to any of the others recalculate it immediately. Nothing you typed is overwritten while the numbers stay consistent.

Copper plating: 2 A for 30 minutes

Copper's tabulated equivalent is ZCu=3.295×10−7 kg/CZ_{\mathrm{Cu}} = 3.295\times 10^{-7}\ \mathrm{kg/C}. Thirty minutes is 1,800 seconds, so the charge is 3,600 coulombs:

Q=I tQ = I\,t==2 A×1 800 s2\ \mathrm{A} \times 1\,800\ \mathrm{s}==3 600 C3\,600\ \mathrm{C}
m=Z Qm = Z\,Q==3.295×10−7×3 6003.295\times 10^{-7} \times 3\,600==1.1862×10−3 kg1.1862\times 10^{-3}\ \mathrm{kg}≈\approx1.19 g1.19\ \mathrm{g}

So the part gains about 1.19 grams of copper, and a soluble copper anode loses the same amount. Left in milligrams the box reads 1,186.2 mg, which is the same number with the decimal point moved.

The two laws behind it

The calculator is a direct implementation of Faraday's first law of electrolysis, combined with the definition of electric charge.

m=Z×Qm = Z \times Q

mm is the mass deposited or dissolved at the electrode, QQ is the charge that passed, and ZZ is the electrochemical equivalent of the substance: the mass one coulomb moves, in kilograms per coulomb. Charge itself is current multiplied by time, which is the second half of the model:

Q=I×tQ = I \times t

Substitute one into the other and the whole calculator collapses into a single statement, which is why any three of the four quantities determine the remaining one:

m=Z×I×tm = Z \times I \times t

The reverse forms are the ones you reach by leaving a box empty: Q=mZQ = \frac{m}{Z}, t=mZ It = \frac{m}{Z\,I}, I=mZ tI = \frac{m}{Z\,t}, and — under Custom — Z=mQZ = \frac{m}{Q}.

Where the tabulated constants come from

Each equivalent in the Element menu is built from the substance's molar mass and the number of electrons its ion exchanges:

Z=Mn FZ = \frac{M}{n\,F}

MM is the molar mass in kilograms per mole, nn is the number of electrons the species exchanges (2 for a copper ion, 1 for a silver ion, 4 for an oxygen molecule), and FF is the Faraday constant, 96 485.332 12 C/mol on the NIST reference values. Copper illustrates it: a molar mass of 0.06355 kg/mol divided by twice that constant gives 3.29 × 10⁻⁷ kg/C, and the Element menu carries 3.295 × 10⁻⁷ kg/C — the same figure rounded to the four significant digits the table prints. Because the same charge always moves the same number of electrons, doubling nn halves the deposit — that is the practical content of Faraday's second law.

If you need the molar mass of something that is not in the Element menu, the molar mass calculator gives you MM to drop into the formula above.

What one ampere hour actually deposits

One ampere hour is 3,600 coulombs

Battery and rectifier ratings are usually given in ampere hours, so this table is the quickest sanity check in the tool. Each mass is the calculator's own output for a charge of 1 Ah at that substance.

SubstanceZ (kg/C)Deposit from 1 Ah
Silver (Ag)1.118 × 10⁻⁶4.0248 g
Copper (Cu)3.295 × 10⁻⁷1.1862 g
Gold (Au)6.812 × 10⁻⁷2.45232 g
Nickel (Ni)3.04 × 10⁻⁷1.0944 g
Zinc (Zn)3.389 × 10⁻⁷1.22004 g
Iron (Fe)2.894 × 10⁻⁷1.04184 g
Potassium (K)4.055 × 10⁻⁷1.4598 g
Sodium (Na)2.387 × 10⁻⁷0.85932 g
Aluminum (Al)9.36 × 10⁻⁸0.33696 g
Oxygen (O₂)8.28 × 10⁻⁸0.29808 g
Hydrogen (H₂)1.044 × 10⁻⁸0.037584 g

The spread is worth noting: one ampere hour buys a few grams of copper or silver but only 0.038 g of hydrogen, because hydrogen is the lightest element that an electrode can release with one electron per atom.

Units are normalised before the formula runs

Every menu is converted into the base unit first — coulombs, seconds and kilograms — so mixing units can never corrupt the arithmetic. A charge typed as 4,000 mAh enters the equation as 14,400 C; a time typed as 30 min enters as 1,800 s; a mass typed as 5 g enters as 0.005 kg.

Worked examples

Three runs that behave differently: a normal plating job, a battery driving water electrolysis, and a reverse solve for a target mass.

Copper plating from a bench rectifier

What you have. A copper sulphate bath at room temperature, a part on the cathode, a copper anode, and a supply set to a steady 2 A. The job calls for a 30-minute run.

What you enter. Element: Copper (Cu). Current: 2 A. Time: 30 min.

m=3.295×10−7×2×1 800m = 3.295\times 10^{-7} \times 2 \times 1\,800==1.1862 g1.1862\ \mathrm{g}

What you do with it. Weigh the anode before and after: in a healthy bath it should lose the same 1.19 g the part gained, which is a fast check that the current you set is the current that is flowing. To turn that mass into a coating thickness you still need the plated area and copper's density — see the thickness question further down.

Water electrolysis from a phone battery

What you have. A 4,000 mAh battery and a small cell splitting water. The rated 4,000 mAh is 4 Ah, or 14,400 C of charge.

What you enter. Element: Hydrogen (H₂), charge: 4,000 mAh. Then repeat with Oxygen (O₂) — only the element changes.

GasChargeMass released
Hydrogen (H₂)14,400 C0.150 g
Oxygen (O₂)14,400 C1.19 g

How to check it. Water is H2O\mathrm{H_2O}, so splitting it gives two hydrogen atoms for every oxygen atom: 2 H2O→2 H2+O22\,\mathrm{H_2O} \rightarrow 2\,\mathrm{H_2} + \mathrm{O_2}. By mass that is

mH2mO2=2×1.00815.999≈17.94\frac{m_{\mathrm{H_2}}}{m_{\mathrm{O_2}}} = \frac{2 \times 1.008}{15.999} \approx \frac{1}{7.94}

and the two results above sit at 0.150 g against 1.19 g — a ratio of 1 : 7.93. When a gas result ever looks wrong, that ratio is the fastest way to tell whether the mistake is in the chemistry or in the unit you typed.

What you do with it. Mass converts to gas volume through moles: divide by the molar mass with the grams to moles calculator, then turn moles into litres at standard conditions with the STP calculator.

Reverse solve: how long to plate 5 g of silver

What you have. A silver bath, a supply that will hold 0.5 A, and a target of 5 g of silver on the part.

What you enter. Element: Silver (Ag). Mass: 5 g. Current: 0.5 A. Leave the time box empty.

t=mZ It = \frac{m}{Z\,I}==0.0051.118×10−6×0.5\frac{0.005}{1.118\times 10^{-6} \times 0.5}==8 944.5 s8\,944.5\ \mathrm{s}≈\approx2.48 h2.48\ \mathrm{h}

What you do with it. Budget two and a half hours, not two. If the current sags during the run — a warm bath, a loose contact, a supply at its limit — the charge actually delivered drops with it, so read the amp-hour counter if you have one and re-enter that charge instead of trusting the clock.

Reading the result honestly

The arithmetic is exact for the charge you enter; the interesting part is whether the charge you enter is the charge that did the work.

  • The number is a magnitude for one electrode. In a plating cell the workpiece (cathode) gains it and the matching anode loses it. The calculator tracks how much matter moves, not which way the current flows.
  • Zero current means a genuine zero. Set the current to 0 A with a real duration and the result is 0 C and 0 g — an answer, not an error.
  • An impossible combination is reported, not faked. A nonzero charge with 0 A cannot be spread over any time, so the time box stays empty and explains why instead of printing an infinite duration. Likewise a run that would need more than a century is flagged, because that means one of the inputs is at the wrong scale.
  • It assumes every coulomb goes into the deposit. Real baths divert part of the charge into side reactions such as hydrogen evolution, and the share that ends up in the coating varies widely between processes, baths and current densities — some metals are known for running far below their theoretical rate. Treat the calculated mass as the ceiling that charge could deliver, and compare it with a weighed test coupon before you rely on it.
  • Mass is not thickness. A coating's thickness needs the plated area and the metal's density:
    t=mρ At = \frac{m}{\rho\,A}
    with mm from this calculator, ρ\rho the density of the coating metal and AA the area that actually saw current. There is no area field here, so thickness is a step you take outside the tool.
  • Small deposits hide in the units. 1.19 g and 1,186 mg are the same result; so are 4,000 mAh and 14,400 C. When comparing against a supplier's specification, convert to one common unit first — mixing the two is the most common way to be a factor of 3,600 out.

Limits of the model

  • This is an educational and estimating tool. It sizes the charge-to-mass relationship for a single substance; it is not a process specification, a bath formulation guide or a safety document.
  • The tabulated constants describe one element depositing or dissolving on its own, using the ion charge nn listed in each entry. Alloys (brass, solder, nickel-iron) have no single M/nM/n, and processes built on complex ions — chromium and cyanide baths among them — do not follow the simple tabulated figure at all. For those, derive an effective equivalent with the measured mass and the measured charge under Custom.
  • No voltage, kinetics or polarisation. The tool converts charge into mass; it cannot tell you whether a reaction will start, how evenly a coating will throw into recesses, or what happens to a bath when it is pushed at high current density.
  • No efficiency model. Side reactions, anode passivation, drag-out and current losses are all outside the equation, so treat every result as the best case at 100 % efficiency.
  • Verify before it matters. For production work, weigh a test coupon and compare it with the prediction; for anything electrical, follow the equipment instructions and your workplace's safety rules rather than a calculated number from a web page.

Questions worth asking

QDoes this work for alloys such as brass or solder?

Not with the tabulated entries, because an alloy has no single molar mass per electron. Two routes work instead: switch to Custom and enter an effective equivalent derived from a measured deposit and its charge, or work from the ampere-hour figure a supplier quotes for that specific bath. The same applies to any element deposited from a mixture of oxidation states.

QCan I turn the mass into a coating thickness?

Not inside this calculator, because thickness depends on how far the deposit spreads. Take the mass from here and divide by the coating metal's density and the plated area (t=mρ At = \dfrac{m}{\rho\,A}, with the units consistent — for example kilograms per cubic metre gives metres). A part that saw uneven current will be thicker near the anode-facing edges, so measure thickness rather than assuming it is uniform.

QWhy does the time box go blank instead of showing an infinite time?

Because the situation is genuinely undefined rather than merely long: no amount of time at 0 A can deliver a nonzero charge, so the division that would produce a duration has no answer. The box says so instead of pretending the run takes forever. Enter a real current, or supply the charge and the mass instead, and a time appears.

QHandbook tables quote the equivalent in milligrams per coulomb. Is that the same quantity?

It is the same quantity in a different unit, and the conversion is a factor of a million: silver at 1.118 × 10⁻⁶ kg/C is 1.118 mg/C. The calculator works internally in kilograms per coulomb, so a table entry given in mg/C can be typed into Custom by moving the decimal point six places to the left.

Electrolysis Calculator - Electrode Mass from Current and Time