Skip to main content

Electrolysis Calculator

Calculate the mass, moles, or gas volume deposited or dissolved during electrolysis from current and time, or solve in reverse to find how long a cell must run — with an animated electron-flow diagram, half-reaction picker, and full step-by-step working using Faraday's Law.

Background

Electrolysis uses electrical current to drive a non-spontaneous chemical reaction, typically depositing a metal at the cathode or producing a gas at an electrode. The amount of substance produced depends on how much charge passes through the cell, governed by Faraday's Law: charge Q = I × t, and moles of electrons = Q / F, where F (Faraday's constant) is 96,485 C/mol — the charge carried by one mole of electrons. Each half-reaction requires a specific number of electrons (n) per mole of product, so moles of product = moles of electrons / n.

Calculate the electrolysis result

Step 1 — What do you want to find?

Forward mode finds mass/moles/volume from current and time. Reverse mode finds the time needed to produce a target mass.

Step 2 — Choose the half-reaction

Pick a common species, or choose Custom to enter your own n and molar mass.

Step 3 — Enter your values

Learning options

Result

No result yet. Choose a half-reaction, enter your values, then click Calculate.

How to use this calculator

  • Choose whether you want to find the amount produced (forward) or the time required to reach a target mass (reverse).
  • Pick a common half-reaction — this automatically fills in the electrons per mole (n) and molar mass — or choose Custom to enter your own values.
  • Enter current, time (or target mass for reverse mode), and optionally current efficiency and molar gas volume if your product is a gas.
  • Click Calculate to see the charge passed, moles of electrons, moles of product, mass or volume, a cell diagram, and the full step-by-step math.

How electrolysis calculations work

Step 1 — Find the charge passed. Charge is current multiplied by time: Q = I × t, measured in coulombs (C). Time must be converted to seconds since current is in amperes (coulombs per second).

Step 2 — Account for efficiency (if given). Real electrolytic cells aren't perfectly efficient — some current is lost to side reactions. Effective charge is Q_eff = Q × (efficiency / 100).

Step 3 — Convert charge to moles of electrons. One mole of electrons carries a fixed charge called Faraday's constant, F = 96,485 C/mol. So moles of e⁻ = Q_eff / F.

Step 4 — Convert moles of electrons to moles of product. Each half-reaction needs a specific number of electrons per mole of product (n). Divide: moles of product = moles of e⁻ / n.

Step 5 — Convert to mass or volume. Multiply moles by molar mass for mass (m = moles × M), or by molar gas volume for volume if the product is a gas (V = moles × Vₘ).

Formula & Equations Used

Charge: Q = I × t (coulombs, with t in seconds)

Effective charge with efficiency: Q_eff = Q × (η / 100)

Moles of electrons: n(e⁻) = Q_eff / F, where F = 96,485 C/mol

Moles of product: n(product) = n(e⁻) / n

Mass: m = n(product) × M

Gas volume: V = n(product) × Vₘ

Reverse-solving for time: t = (target moles × n × F) / (I × η/100)

Example Problems & Step-by-Step Solutions

Example 1 — Mass deposited (Cu²⁺ → Cu)

A current of 2.50 A runs for 30.0 minutes through a copper sulfate solution.

Step 1: Q = 2.50 A × 1800 s = 4500 C

Step 2: moles e⁻ = 4500 / 96,485 = 0.04664 mol

Step 3: moles Cu = 0.04664 / 2 = 0.02332 mol

Result: mass = 0.02332 × 63.546 ≈ 1.48 g of copper deposited.

Example 2 — Gas volume (2H⁺ → H₂ at STP)

A current of 1.20 A runs for 40.0 minutes, producing hydrogen gas at STP (Vₘ = 22.414 L/mol).

Step 1: Q = 1.20 × 2400 = 2880 C

Step 2: moles e⁻ = 2880 / 96,485 = 0.02985 mol

Step 3: moles H₂ = 0.02985 / 2 = 0.01493 mol

Result: volume = 0.01493 × 22.414 ≈ 0.335 L of H₂ gas.

Example 3 — Reverse-solving for time

How long must a 3.00 A current run to deposit 5.00 g of copper (M = 63.546 g/mol, n = 2)?

Step 1: target moles = 5.00 / 63.546 = 0.07867 mol

Step 2: moles e⁻ needed = 0.07867 × 2 = 0.15734 mol

Step 3: charge needed = 0.15734 × 96,485 = 15,180 C

Result: t = 15,180 / 3.00 ≈ 5060 s ≈ 84.3 minutes.

Example 4 — Effect of current efficiency

A cell runs at 2.00 A for 60.0 minutes, but only 90% current efficiency (n=2, M=63.546 for Cu).

Step 1: Q = 2.00 × 3600 = 7200 C

Step 2: Q_eff = 7200 × 0.90 = 6480 C (10% of the charge is "wasted" on side reactions)

Step 3: moles e⁻ = 6480 / 96,485 = 0.06716 mol → moles Cu = 0.03358 mol

Result: mass ≈ 2.13 g — about 10% less than the 2.37 g you'd get at 100% efficiency.

Frequently Asked Questions

What value should I use for n?

Use the number of electrons transferred per mole of product, taken directly from the balanced half-reaction. For example, Cu²⁺ + 2e⁻ → Cu needs n=2, while Ag⁺ + e⁻ → Ag needs n=1. The half-reaction picker fills this in automatically for common species.

Why does time need to be in seconds?

Current (amperes) is defined as coulombs per second, so the charge formula Q = I × t only gives the correct units (coulombs) when t is in seconds. Entering time in minutes or hours without converting is one of the most common errors in electrolysis problems — this calculator converts automatically.

What is current efficiency and why isn't it always 100%?

In a real electrolytic cell, not all of the current goes toward producing your target species — some is lost to side reactions, such as competing reduction/oxidation processes or heat. Current efficiency expresses what fraction of the total charge actually contributes to the desired product.

Do I need molar mass for every calculation?

Only if you want a final answer in grams. If you only need moles of product, you can leave molar mass blank. For gas products, you can instead supply a molar gas volume (e.g., 22.414 L/mol at STP) to get volume instead of, or in addition to, mass.

How does reverse-solving for time work?

Instead of starting from current and time to find mass, reverse mode starts from a target mass, converts it to moles, then to moles of electrons needed, then to total charge required, and finally divides by current to get the time needed — effectively running the whole forward calculation backward.

Why is Faraday's constant 96,485 C/mol?

This is the magnitude of charge carried by one mole of electrons, calculated as Avogadro's number (6.022×10²³) multiplied by the charge of a single electron (1.602×10⁻¹⁹ C). It's one of the fundamental physical constants linking the macroscopic world of measurable current to the microscopic world of individual electrons.

Calculating Molar Mass
2. Atoms & Elements
5 problems
Topic
Jules
Mole Concept
2. Atoms & Elements
7 problems
Topic
Jules
Stoichiometry
3. Chemical Reactions
7 problems
Topic
Jules
Calculate Oxidation Numbers
6. Chemical Quantities & Aqueous Reactions
5 problems
Topic
Jules
Redox Reactions
6. Chemical Quantities & Aqueous Reactions
7 problems
Topic
Jules
Balancing Redox Reactions: Acidic Solutions
6. Chemical Quantities & Aqueous Reactions
4 problems
Topic
Jules
Balancing Redox Reactions: Basic Solutions
6. Chemical Quantities & Aqueous Reactions
3 problems
Topic
Jules
Activity Series
6. Chemical Quantities & Aqueous Reactions
6 problems
Topic
Jules
The Ideal Gas Law
7. Gases
7 problems
Topic
Jules
Gas Stoichiometry
7. Gases
7 problems
Topic
Jules
Standard Temperature and Pressure
7. Gases
6 problems
Topic
Jules
Standard Reduction Potentials
20. Electrochemistry
6 problems
Topic
Jules
Intro To Electrochemical Cells
20. Electrochemistry
2 problems
Topic
Jules
Galvanic Cell
20. Electrochemistry
6 problems
Topic
Jules
Electrolytic Cell
20. Electrochemistry
4 problems
Topic
Jules
Cell Potential: Standard
20. Electrochemistry
7 problems
Topic
Jules
Cell Potential: The Nernst Equation
20. Electrochemistry
7 problems
Topic
Jules
Cell Potential and Gibbs Free Energy
20. Electrochemistry
4 problems
Topic
ErnestBlazevic
Cell Potential and Equilibrium
20. Electrochemistry
6 problems
Topic
Jules
Cell Potential: ∆G and K
20. Electrochemistry
4 problems
Topic
LauraGarcia
Cell Notation
20. Electrochemistry
6 problems
Topic
Jules
Electroplating
20. Electrochemistry
7 problems
Topic
Jules
2. Atoms & Elements - Part 1 of 4
6 topics 14 problems
Chapter
Jules
2. Atoms & Elements - Part 2 of 4
6 topics 14 problems
Chapter
Jules
2. Atoms & Elements - Part 3 of 4
6 topics 14 problems
Chapter
Jules
2. Atoms & Elements - Part 4 of 4
5 topics 14 problems
Chapter
Jules
3. Chemical Reactions - Part 1 of 4
5 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 2 of 4
6 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 3 of 4
5 topics 13 problems
Chapter
Jules
3. Chemical Reactions - Part 4 of 4
1 topic 3 problems
Chapter
6. Chemical Quantities & Aqueous Reactions - Part 1 of 3
6 topics 13 problems
Chapter
Jules
6. Chemical Quantities & Aqueous Reactions - Part 2 of 3
6 topics 12 problems
Chapter
Jules
6. Chemical Quantities & Aqueous Reactions - Part 3 of 3
5 topics 12 problems
Chapter
Jules
7. Gases - Part 1 of 4
5 topics 14 problems
Chapter
Jules
7. Gases - Part 2 of 4
5 topics 13 problems
Chapter
Jules
7. Gases - Part 3 of 4
5 topics 13 problems
Chapter
Jules
7. Gases - Part 4 of 4
5 topics 13 problems
Chapter
Jules
20. Electrochemistry - Part 1 of 3
4 topics 11 problems
Chapter
Jules
20. Electrochemistry - Part 2 of 3
4 topics 11 problems
Chapter
Jules
20. Electrochemistry - Part 3 of 3
5 topics 11 problems
Chapter
Jules
22. Organic Chemistry - Part 1 of 5
7 topics 14 problems
Chapter
Jules
22. Organic Chemistry - Part 2 of 5
5 topics 14 problems
Chapter
Jules
22. Organic Chemistry - Part 3 of 5
6 topics 14 problems
Chapter
Keyshawn
22. Organic Chemistry - Part 4 of 5
8 topics 13 problems
Chapter
Jules
22. Organic Chemistry - Part 5 of 5
8 topics 14 problems
Chapter
Jules
Carbene - Part 1 of 3
13. Alcohols and Carbonyl Compounds
10 problems
Topic
Johnny
Carbene - Part 2 of 3
13. Alcohols and Carbonyl Compounds
9 problems
Topic
Laura
Carbene - Part 3 of 3
13. Alcohols and Carbonyl Compounds
9 problems
Topic
Johnny
Oxidizing Agent
13. Alcohols and Carbonyl Compounds
7 problems
Topic
Johnny
13. Alcohols and Carbonyl Compounds - Part 1 of 3
1 topic 11 problems
Chapter
Ernest
13. Alcohols and Carbonyl Compounds - Part 2 of 3
3 topics 10 problems
Chapter
Johnny
13. Alcohols and Carbonyl Compounds - Part 3 of 3
4 topics 10 problems
Chapter
Johnny
19. Aldehydes and Ketones:Nucleophilic Addition - Part 1 of 3
5 topics 14 problems
Chapter
Johnny
19. Aldehydes and Ketones:Nucleophilic Addition - Part 2 of 3
1 topic 13 problems
Chapter
Johnny
19. Aldehydes and Ketones:Nucleophilic Addition - Part 3 of 3
2 topics 13 problems
Chapter
Ernest
The Ideal Gas Law
21. Kinetic Theory of Ideal Gases
7 problems
Topic
Patrick
21. Kinetic Theory of Ideal Gases - Part 1 of 2
4 topics 9 problems
Chapter
Patrick
21. Kinetic Theory of Ideal Gases - Part 2 of 2
4 topics 8 problems
Chapter
Patrick
Redox Reactions
8. Respiration
3 problems
Topic
Jason
8. Respiration - Part 1 of 2
6 topics 8 problems
Chapter
Jason
8. Respiration - Part 2 of 2
5 topics 8 problems
Chapter
Brendan
Redox Reactions
3. Energy & Cell Processes
Topic
3. Energy & Cell Processes - Part 1 of 4
10 topics 12 problems
Chapter
Bruce
3. Energy & Cell Processes - Part 2 of 4
10 topics 9 problems
Chapter
3. Energy & Cell Processes - Part 3 of 4
8 topics 11 problems
Chapter
Bruce
3. Energy & Cell Processes - Part 4 of 4
7 topics 10 problems
Chapter
Bruce
Types of Chemical Reactions
5. Classification & Balancing of Chemical Reactions
6 problems
Topic
Jules
Calculate Oxidation Numbers
5. Classification & Balancing of Chemical Reactions
3 problems
Topic
Jules
Redox Reactions
5. Classification & Balancing of Chemical Reactions
5 problems
Topic
Jules
Balancing Redox Reactions: Acidic Solutions
5. Classification & Balancing of Chemical Reactions
1 problem
Topic
Jules
Balancing Redox Reactions: Basic Solutions
5. Classification & Balancing of Chemical Reactions
1 problem
Topic
Jules
Balancing Redox Reactions (Simplified)
5. Classification & Balancing of Chemical Reactions
2 problems
Topic
Jules
Galvanic Cell (Simplified)
5. Classification & Balancing of Chemical Reactions
2 problems
Topic
Jules
Calculating Molar Mass
6. Chemical Reactions & Quantities
4 problems
Topic
Jules
Mole Concept
6. Chemical Reactions & Quantities
6 problems
Topic
Jules
Stoichiometry
6. Chemical Reactions & Quantities
6 problems
Topic
Jules
The Ideal Gas Law
8. Gases, Liquids and Solids
4 problems
Topic
Jules
Standard Temperature and Pressure
8. Gases, Liquids and Solids
4 problems
Topic
Jules
Gas Stoichiometry
8. Gases, Liquids and Solids
2 problems
Topic
Jules
Intro to Redox Reactions
14. Compounds with Oxygen or Sulfur
3 problems
Topic
Ernest
5. Classification & Balancing of Chemical Reactions - Part 1 of 2
6 topics 11 problems
Chapter
Jules
5. Classification & Balancing of Chemical Reactions - Part 2 of 2
8 topics 10 problems
Chapter
Jules
6. Chemical Reactions & Quantities - Part 1 of 2
6 topics 9 problems
Chapter
Jules
6. Chemical Reactions & Quantities - Part 2 of 2
3 topics 8 problems
Chapter
Jules
8. Gases, Liquids and Solids - Part 1 of 2
8 topics 15 problems
Chapter
Jules
8. Gases, Liquids and Solids - Part 2 of 2
7 topics 15 problems
Chapter
Jules
14. Compounds with Oxygen or Sulfur
7 topics 15 problems
Chapter
Jules
Calculating Molar Mass
5. Molecules and Compounds
5 problems
Topic
Mole Concept
6. Chemical Composition
5 problems
Topic
Types of Chemical Reactions
7. Chemical Reactions
5 problems
Topic
Stoichiometry
8. Quantities in Chemical Reactions
5 problems
Topic
Calculate Oxidation Numbers
16. Oxidation and Reduction
5 problems
Topic
Redox Reactions
16. Oxidation and Reduction
5 problems
Topic
Spontaneous Redox Reactions
16. Oxidation and Reduction
4 problems
Topic
Balancing Redox Reactions: Acidic Solutions
16. Oxidation and Reduction
5 problems
Topic
Balancing Redox Reactions: Basic Solutions
16. Oxidation and Reduction
5 problems
Topic
Galvanic Cell (Simplified)
16. Oxidation and Reduction
5 problems
Topic
The Ideal Gas Law
11 Gases
5 problems
Topic
Standard Temperature and Pressure
11 Gases
5 problems
Topic
Gas Stoichiometry
11 Gases
5 problems
Topic
5. Molecules and Compounds
11 topics 33 problems
Chapter
6. Chemical Composition
4 topics 12 problems
Chapter
7. Chemical Reactions
8 topics 24 problems
Chapter
8. Quantities in Chemical Reactions
4 topics 12 problems
Chapter
16. Oxidation and Reduction
6 topics 16 problems
Chapter
11 Gases
10 topics 30 problems
Chapter
Redox Reactions
12. Microbial Metabolism
7 problems
Topic
Nicole
12. Microbial Metabolism - Part 1 of 3
9 topics 14 problems
Chapter
Nicole
12. Microbial Metabolism - Part 2 of 3
6 topics 13 problems
Chapter
Nicole
12. Microbial Metabolism - Part 3 of 3
8 topics 13 problems
Chapter
Monica
Electrochemical Cells
13. Fundamentals of Electrochemistry
5 problems
Topic
Standard Potentials
13. Fundamentals of Electrochemistry
5 problems
Topic
Nernst Equation
13. Fundamentals of Electrochemistry
5 problems
Topic
Standard Cell Potential & the Equilibrium Constant
13. Fundamentals of Electrochemistry
5 problems
Topic
Analyte Oxidation State
15. Redox Titrations
5 problems
Topic
Oxidizing Agents
15. Redox Titrations
5 problems
Topic
Fundamentals of Electrolysis
16. Electroanalytical Techniques
5 problems
Topic
13. Fundamentals of Electrochemistry - Part 1 of 2
4 topics 12 problems
Chapter
13. Fundamentals of Electrochemistry - Part 2 of 2
1 topic 3 problems
Chapter
15. Redox Titrations
4 topics 12 problems
Chapter
16. Electroanalytical Techniques
4 topics 12 problems
Chapter
Back to all calculatorsAll calculators