Electrolysis Calculator

Calculate the mass of substance deposited or dissolved during electrolysis using Faraday's laws. Determine charge, current, time, and mass relationships in electrochemical processes.

Faraday Constant (F) = 96,485 C/mol

Results

Total Charge (Q) --
Mass Deposited (m) --
Moles Deposited --
Electrochemical Equivalent (Z) --

Calculation Breakdown

What Is Electrolysis?

Electrolysis is a chemical process in which electrical energy drives a non-spontaneous chemical reaction. During electrolysis, an electric current is passed through an electrolyte (a substance containing free ions, such as a molten salt or an aqueous solution of a salt, acid, or base), causing chemical changes at the electrodes. The process was first described systematically by Michael Faraday in the 1830s and has since become a cornerstone of electrochemistry and industrial chemistry.

An electrolytic cell consists of three essential components:

The external power source (battery or DC supply) provides the driving force necessary to push electrons through the circuit and force the reaction to proceed in the non-spontaneous direction. The minimum voltage required to initiate electrolysis is called the decomposition voltage, which equals the standard cell potential for the reverse (galvanic) reaction plus any overpotential needed to overcome kinetic barriers at the electrode surfaces.

Electrolysis is fundamentally different from a galvanic (voltaic) cell. In a galvanic cell, a spontaneous chemical reaction generates electrical energy. In an electrolytic cell, electrical energy is consumed to produce a desired chemical change. Despite this difference, both types of electrochemical cells obey the same underlying principles described by Faraday's laws.

Faraday's Laws of Electrolysis

Michael Faraday formulated two quantitative laws that govern the relationship between the amount of substance produced at an electrode and the quantity of electricity passed through the electrolyte. These laws are universally applicable to all electrolytic processes and form the theoretical basis of this calculator.

Faraday's First Law

Faraday's First Law states that the mass of a substance deposited or dissolved at an electrode during electrolysis is directly proportional to the total electric charge passed through the electrolyte. Mathematically:

m ∝ Q     or equivalently     m = Z × Q

Here, m is the mass of the substance in grams, Q is the total charge in coulombs, and Z is the electrochemical equivalent of the substance (the mass deposited per coulomb of charge). Since Q = I × t (current multiplied by time), doubling the current or doubling the time will double the mass deposited, assuming all other conditions remain constant.

This law makes intuitive sense: more charge means more electrons are transferred, and each electron reduces or oxidizes one ion, so more ions are converted to the desired product. If you pass 96,485 coulombs (one faraday) of charge through a solution of silver nitrate, you will deposit exactly one mole (107.868 g) of silver, because each Ag⁺ ion requires exactly one electron.

Faraday's Second Law

Faraday's Second Law states that when the same quantity of electric charge is passed through several different electrolytes connected in series, the masses of the substances deposited or dissolved at the respective electrodes are proportional to their chemical equivalent weights. The chemical equivalent weight of a substance is defined as its molar mass divided by the number of electrons transferred per ion:

Equivalent weight = M / n

This means that if you pass the same charge through a silver nitrate solution and a copper sulfate solution connected in series, the ratio of the mass of silver deposited to the mass of copper deposited will equal the ratio of their equivalent weights: (107.868/1) : (63.546/2) = 107.868 : 31.773, which is approximately 3.395 : 1.

Combining both laws yields the master equation used in electrolysis calculations, which is the formula implemented in this calculator.

The Electrolysis Formula Explained

By combining Faraday's First and Second Laws, we arrive at the fundamental equation for calculating the mass of a substance produced during electrolysis:

m = (M × I × t) / (n × F)

Let us carefully define each variable in this equation:

The derivation is straightforward. The total charge Q = I × t. The number of moles of electrons transferred is Q / F. Since n moles of electrons are needed to deposit 1 mole of the substance, the moles of substance deposited = Q / (n × F). Multiplying by the molar mass M gives the mass: m = M × Q / (n × F) = M × I × t / (n × F).

Two additional useful quantities can be derived from this formula:

Electrolysis Cell Diagram

DC Power Supply + Electrolyte Solution (e.g., CuSO₄ aq) Cathode (−) Reduction occurs Anode (+) Oxidation occurs Cu²⁺ cations migrate ← SO₄²⁻ anions migrate → Electron flow: from power supply − terminal through external circuit to + terminal Cu²⁺ + 2e⁻ → Cu(s) Cu(s) → Cu²⁺ + 2e⁻ Cu deposit

In the diagram above, the DC power supply forces electrons to flow through the external circuit. At the cathode (negative electrode), cations from the electrolyte gain electrons and are deposited as solid metal. At the anode (positive electrode), the metal electrode dissolves or anions are oxidized, releasing electrons into the circuit. The electrolyte solution maintains electrical neutrality as ions migrate: cations move toward the cathode and anions move toward the anode.

How to Calculate Mass in Electrolysis — Step by Step

Let us walk through a complete worked example to illustrate how to use Faraday's law formula. Suppose you want to electroplate a piece of jewelry with copper using a copper sulfate solution.

Problem

A current of 2.5 amperes is passed through an aqueous copper sulfate (CuSO₄) solution for 45 minutes. How much copper is deposited at the cathode?

Given Information

Step 1: Calculate Total Charge

Q = I × t = 2.5 × 2,700 = 6,750 C

The total charge passed through the solution is 6,750 coulombs.

Step 2: Apply Faraday's Law

m = (M × Q) / (n × F) = (63.546 × 6,750) / (2 × 96,485)

Step 3: Compute

Numerator: 63.546 × 6,750 = 428,935.5

Denominator: 2 × 96,485 = 192,970

m = 428,935.5 / 192,970 = 2.223 grams

Therefore, approximately 2.223 grams of copper will be deposited on the cathode after 45 minutes at 2.5 amperes.

Step 4: Verify (Optional)

We can check by calculating moles: moles = m / M = 2.223 / 63.546 = 0.03498 mol. The moles of electrons required = 0.03498 × 2 = 0.06997 mol. The charge for this many moles of electrons = 0.06997 × 96,485 = 6,750 C. This matches our Q calculation, confirming the result is correct.

Common Applications of Electrolysis

Electrolysis is used in a wide range of industrial, commercial, and laboratory applications. Understanding the mass relationships through Faraday's laws is essential for designing and optimizing all of these processes.

1. Electroplating

Electroplating is the process of coating an object with a thin layer of metal by making it the cathode in an electrolytic cell. The object to be plated is immersed in a solution containing ions of the plating metal. Common applications include:

Faraday's law is essential for calculating plating time, current requirements, and the thickness of the deposited layer. For example, to deposit a 10-micrometer layer of gold on a surface area of 50 cm², engineers use the formula to determine the required current and duration.

2. Metal Refining (Electrorefining)

Electrorefining purifies metals by making impure metal the anode and collecting pure metal at the cathode. The most important example is copper refining: crude copper (about 99% pure) from smelting is cast into anodes and placed in a sulfuric acid/copper sulfate electrolyte. Pure copper (99.99%) deposits at the cathode, while impurities either dissolve into solution or fall to the bottom as "anode slime" (which often contains valuable precious metals like gold, silver, and platinum). Nearly all copper used in electrical wiring undergoes electrolytic refining.

3. Water Electrolysis for Hydrogen Production

Passing an electric current through water (with a small amount of acid or base added to improve conductivity) decomposes it into hydrogen gas at the cathode and oxygen gas at the anode. This process is increasingly important for "green hydrogen" production when powered by renewable energy sources such as solar or wind. Proton Exchange Membrane (PEM) electrolyzers and alkaline electrolyzers are the two main industrial technologies used for this purpose.

4. Aluminum Production (Hall-Heroult Process)

Aluminum cannot be extracted from its ore (bauxite) by simple chemical reduction because of its extreme affinity for oxygen. Instead, purified aluminum oxide (alumina, Al₂O₃) is dissolved in molten cryolite (Na₃AlF₆) and electrolyzed at about 960 degrees Celsius. The process consumes enormous amounts of electricity — producing 1 kg of aluminum requires approximately 13-16 kWh of electrical energy. This is why aluminum smelters are typically located near cheap hydroelectric power sources.

5. Chlor-Alkali Process

The electrolysis of brine (concentrated sodium chloride solution) produces three important industrial chemicals simultaneously: chlorine gas (Cl₂) at the anode, hydrogen gas (H₂) at the cathode, and sodium hydroxide (NaOH) in the catholyte. These products are among the most widely used chemicals in industry — chlorine for water purification and PVC production, sodium hydroxide for paper manufacturing and soap production, and hydrogen as a chemical feedstock and fuel.

6. Electroforming and Electrowinning

Electroforming creates metal objects by electrodepositing metal onto a mandrel (form), which is later removed. This technique produces items with extremely precise dimensions and is used for manufacturing compact disc stampers, waveguides, and aerospace components. Electrowinning is the extraction of metals from their ores by electrolysis of leach solutions, used particularly for copper, zinc, and nickel recovery from low-grade ores.

Table of Electrochemical Equivalents

The following table lists common substances encountered in electrolysis along with their molar masses, electron transfer numbers, and electrochemical equivalents. The electrochemical equivalent (Z = M / (n × F)) tells you how many grams of substance are deposited per coulomb of charge.

Substance Ion M (g/mol) n (electrons) Z (mg/C) Mass per Faraday (g)
Copper Cu²⁺ 63.546 2 0.3294 31.773
Silver Ag⁺ 107.868 1 1.1180 107.868
Gold Au³⁺ 196.967 3 0.6805 65.656
Aluminum Al³⁺ 26.982 3 0.0932 8.994
Zinc Zn²⁺ 65.380 2 0.3388 32.690
Nickel Ni²⁺ 58.693 2 0.3042 29.347
Hydrogen H⁺ → H₂ 2.016 2 0.01045 1.008
Oxygen O²⁻ → O₂ 32.000 4 0.08291 8.000
Iron Fe²⁺ 55.845 2 0.2894 27.923
Iron Fe³⁺ 55.845 3 0.1929 18.615
Chromium Cr³⁺ 51.996 3 0.1796 17.332
Tin Sn²⁺ 118.710 2 0.6153 59.355
Lead Pb²⁺ 207.200 2 1.0736 103.600
Platinum Pt²⁺ 195.084 2 1.0107 97.542

Note: The "Mass per Faraday" column shows the mass deposited when exactly 96,485 coulombs (1 faraday) of charge is passed, which equals M/n grams. The electrochemical equivalent Z is given in milligrams per coulomb (mg/C) for practical readability.

Water Electrolysis: Producing Hydrogen and Oxygen

Water electrolysis deserves special attention because of its growing importance in the transition to clean energy. The overall reaction is:

2H₂O(l) → 2H₂(g) + O₂(g)

The theoretical decomposition voltage for water electrolysis is 1.23 V at standard conditions (25 degrees Celsius, 1 atm). However, in practice, a voltage of 1.8 to 2.0 V or higher is typically required due to overpotential at the electrodes and ohmic losses in the electrolyte and connections.

Cathode Reaction (Reduction)

In acidic solution: 2H⁺(aq) + 2e⁻ → H₂(g)

In alkaline solution: 2H₂O(l) + 2e⁻ → H₂(g) + 2OH⁻(aq)

Anode Reaction (Oxidation)

In acidic solution: H₂O(l) → ½O₂(g) + 2H⁺(aq) + 2e⁻

In alkaline solution: 2OH⁻(aq) → ½O₂(g) + H₂O(l) + 2e⁻

Calculating Gas Production

Using our electrolysis formula, we can calculate the mass and volume of gases produced. For hydrogen (M = 2.016 g/mol, n = 2): at a current of 10 A for 1 hour (3,600 s), the mass of H₂ produced is:

m(H₂) = (2.016 × 10 × 3600) / (2 × 96485) = 72,576 / 192,970 = 0.376 g

At standard temperature and pressure (STP, 0 degrees Celsius, 1 atm), one mole of any gas occupies 22.4 liters. The moles of H₂ = 0.376 / 2.016 = 0.1866 mol. Therefore, the volume of hydrogen gas produced at STP = 0.1866 × 22.4 = 4.18 liters.

Simultaneously, at the anode, oxygen is produced. Because 2 moles of H₂O produce 1 mole of O₂ and 2 moles of H₂, the moles of O₂ = 0.1866 / 2 = 0.0933 mol, giving a volume of 0.0933 × 22.4 = 2.09 liters at STP. The volume ratio of H₂ to O₂ is always 2:1, consistent with the formula of water.

Industrial Water Electrolysis Technologies

Frequently Asked Questions

What is the Faraday constant and why is it 96,485 C/mol?

The Faraday constant (F) represents the total electric charge carried by one mole of electrons. It is calculated as F = N_A × e, where N_A is Avogadro's number (6.02214 × 10²³ mol⁻¹) and e is the elementary charge (1.60218 × 10⁻¹⁹ C). Multiplying these gives F = 96,485.33 C/mol, which is rounded to 96,485 C/mol for most calculations. This value is fundamental to all electrochemistry because it connects the macroscopic world of measurable charge and mass to the microscopic world of individual electron transfer events.

Does this calculator account for current efficiency?

This calculator assumes 100% current efficiency, meaning all the charge passed through the electrolyte is used to deposit the desired substance. In practice, current efficiency is typically between 85-99% depending on the specific process, electrolyte composition, temperature, and current density. Some charge is "wasted" on side reactions such as hydrogen evolution at the cathode (competing with metal deposition) or oxygen evolution. To account for this, multiply the calculated mass by the current efficiency (as a decimal). For example, if the current efficiency is 92%, the actual mass deposited = calculated mass × 0.92.

How do I determine the number of electrons transferred (n)?

The value of n corresponds to the change in oxidation state of the ion being deposited or dissolved. Look at the half-reaction occurring at the electrode. For Cu²⁺ + 2e⁻ → Cu, n = 2 because each copper ion gains 2 electrons. For Ag⁺ + e⁻ → Ag, n = 1. For Al³⁺ + 3e⁻ → Al, n = 3. For gases like H₂ (from 2H⁺ + 2e⁻ → H₂), n = 2 because two electrons are needed to produce one molecule of H₂. If you are unsure, check the ion's charge in the electrolyte solution — the magnitude of the charge typically equals n.

Can I use Faraday's law for molten salt electrolysis?

Yes, Faraday's laws apply equally to the electrolysis of molten salts and aqueous solutions. The laws are universal for all electrolytic processes. The Hall-Heroult process for aluminum production uses molten cryolite containing dissolved alumina, and the mass of aluminum produced is calculated using the same formula: m = MIt/(nF) with M = 26.982 g/mol and n = 3. The only difference is that molten salt electrolysis typically requires much higher temperatures and different cell designs than aqueous electrolysis.

What is the relationship between electrolysis and electroplating thickness?

To calculate the thickness of an electroplated layer, first use Faraday's law to find the mass deposited (m), then use the formula: thickness = m / (density × area). For example, if you deposit 1.5 g of copper (density = 8.96 g/cm³) over a surface area of 100 cm², the thickness = 1.5 / (8.96 × 100) = 0.001674 cm = 16.74 micrometers. This relationship allows engineers to precisely control plating thickness by adjusting current, time, and electrode geometry.

Why does the mass deposited depend on molar mass and electron number but not on voltage?

Faraday's law states that mass depends on the total charge (Q = I × t) passed through the cell, not on the voltage. The voltage only needs to be high enough to overcome the decomposition potential and drive the reaction; once the reaction is proceeding, the amount of product formed depends solely on how many electrons are transferred, which is determined by the current and time. Increasing the voltage beyond the minimum required may increase the current (and thus the rate of deposition), but it is the current — not the voltage directly — that determines how much substance is produced. This is analogous to how a water pipe's flow rate (current) determines how much water you collect, not the pressure (voltage) alone.

How accurate are Faraday's law calculations for real-world electrolysis?

Faraday's laws are exact in principle — they are as fundamental as the conservation of charge. The "inaccuracy" in real-world calculations comes entirely from non-ideal factors such as: (1) current efficiency losses from side reactions, (2) variations in current over time if not well-regulated, (3) temperature effects on the electrolyte, (4) concentration changes in the electrolyte as ions are consumed, and (5) passivation or polarization of the electrodes. In well-controlled laboratory conditions, current efficiencies of 99%+ are achievable for many processes, making Faraday's law predictions extremely accurate. Industrial processes typically operate at 90-98% efficiency for established processes like copper refining.

Can I calculate the time needed to deposit a specific mass?

Yes. Simply rearrange the formula to solve for time: t = (m × n × F) / (M × I). For example, to deposit 5 grams of silver (M = 107.868, n = 1) using a current of 3 amperes: t = (5 × 1 × 96485) / (107.868 × 3) = 482,425 / 323.604 = 1,490.9 seconds, which is approximately 24.8 minutes. You can use our calculator by adjusting the inputs and working backward to find the time that gives your desired mass.