Faraday electrolysis mass calculator
Estimate how much metal plates out: 2.5 A for 3600 seconds in a copper bath, at 63.546 g/mol with two electrons per ion, deposits just under 3 g of copper. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Current
- 2.5
- Time
- 3,600
- Molar mass
- 63.546
- Electrons
- 2
- Mass
- 2.9637354588
- Mass g
- 2.9637354588
- Charge C
- 9,000
- Moles electrons
- 0.0932784269
Faraday's first law of electrolysis links the mass of material deposited or dissolved at an electrode to the electric charge that passes through the cell. Given a constant current, an electrolysis time, the molar mass of the species of interest, and the number of electrons transferred per formula unit, this capability returns the deposited mass with a deterministic SI formula—no tables, no network, and no random drift. Students use it to check homework on copper plating, aluminum smelting stoichiometry, and electrorefining yields; lab software and manufacturing scripts use the same contract to pin expected gram values in tests. Zero electrons are rejected as invalid input because the n F denominator is undefined.
What Faraday's first law returns and how to choose inputs
Write the electrolysis problem with four known quantities: electric current I in amperes, duration t in seconds, molar mass M of the deposited species in grams per mole, and the number of electrons n transferred when one formula unit of that species is reduced or oxidized. Faraday's first law states that the mass deposited equals current times time times molar mass divided by n times the Faraday constant F, where F is the charge of one mole of electrons, about ninety-six thousand four hundred eighty-five coulombs per mole.
For a copper two-plus ion reduced to metal, n equals two; for silver one-plus, n equals one; for aluminum three-plus, n equals three. Current and time must be non-negative because a negative ampere reading or negative duration is not a physical electrolysis interval in this product. Molar mass must be positive so the mass scale stays meaningful.
What you can do with it
Homework and exam verification
Students and graders compute mass deposited for copper, silver, or aluminum half-reactions from I, t, M, and n, and get a clear error when zero electrons are submitted by mistake.
Electroplating and process estimates
Shop and lab scripts estimate grams of metal plated for a planned current and run time before committing bath chemistry, without reimplementing Faraday's law in every spreadsheet.
FAQ
How do I calculate mass deposited during electrolysis?
The response includes mass in grams via m = (I·t·M)/(n·F).
What happens if electrons is zero?
Zero electrons make the Faraday denominator n·F undefined (division by zero) and are rejected and not charged.
What units does the calculator use?
Current in amperes, time in seconds, molar mass in g/mol, and mass in grams. Charge is reported in coulombs. The Faraday constant is 96485.3321 C/mol.
Is the Faraday electrolysis mass calculator free?
The browser tool runs free on your device.
Does the calculator include current efficiency?
No. It assumes 100% faradaic efficiency at constant current. Apply your own efficiency factor to the returned mass if side reactions waste charge.
Related tools
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/chem/faraday-mass-deposited \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"current":2.5,"time":3600,"molar_mass":63.546,"electrons":2}'const res = await fetch("https://api.kit.forhosting.com/chem/faraday-mass-deposited", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"current": 2.5,
"time": 3600,
"molar_mass": 63.546,
"electrons": 2
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/chem/faraday-mass-deposited",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"current": 2.5,
"time": 3600,
"molar_mass": 63.546,
"electrons": 2
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/chem/faraday-mass-deposited", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"current":2.5,"time":3600,"molar_mass":63.546,"electrons":2}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"current":2.5,"time":3600,"molar_mass":63.546,"electrons":2}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/chem/faraday-mass-deposited", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"current": 2.5,
"time": 3600,
"molar_mass": 63.546,
"electrons": 2
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "chem.faraday_mass_deposited",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
What Faraday's first law returns and how to choose inputs
Send a JSON object with required fields current, time, molar_mass, and electrons as finite numbers or numeric strings; aliases such as I, t, M, n, amperes, seconds, molecular_weight, and valence are accepted when documented by the SDK so client code can speak laboratory English. Zero electrons fail with invalid_input because division by n F is undefined and the engine never returns Infinity or NaN for that case. Identical inputs always produce identical JSON because the path is pure arithmetic with no network, no random seed, and no wall clock.
Reading mass, charge, moles, and intermediate Faraday quantities
The constants block documents the Faraday constant F used and the SI unit labels for current, time, molar mass, mass, and charge. The primary result is mass in grams, also exposed as mass_g for clients that prefer an explicit unit suffix. charge_C reports the total charge passed as current times time in coulombs, which is the Q that appears in many textbooks before converting to moles of electrons. moles_electrons is that charge divided by F, and moles_product is moles of electrons divided by n, so you can verify the stoichiometry step by step against a hand calculation. The formula string is always m equals open parenthesis I times t times M close parenthesis over open parenthesis n times F close parenthesis, and the method label is always faraday_first_law so downstream code can branch without sniffing shapes. Use mass alone when a plating report needs a single gram figure; use charge_C and moles_product when grading software must check intermediate coulomb and mole arithmetic separately. Missing required fields, non-finite numbers, negative current or time, non-positive molar mass, and zero electrons all fail with invalid_input and are not charged after the engine rejects the request.
API usage, pricing, lab workflows, and practical limits
Keep inputs within ordinary lab ranges—amperes from microplates to industrial baths, times from seconds to multi-hour runs—and prefer classroom-scale numbers for grading oracles. Send a JSON body with the four required numbers and call the free in-browser Faraday electrolysis mass calculator for homework checks, lecture demos, and quick plating estimates without installing a spreadsheet or a local chemistry toolkit. Use the prepaid API when a tutoring platform, process-control sandbox, curriculum generator, or electroplating pipeline needs a stable contract under KIT balance at $0.002 per successful item; validation failures never consume balance after the engine rejects the request. Pair this endpoint with a molar-mass calculator when the species formula is known but M is not yet numeric, or with charge-current-time tools when you already know Q and only need to fold in M and n. This product assumes one hundred percent current efficiency and constant current; if your cell wastes charge on side reactions, scale the result by efficiency outside this capability. Authors shipping SDKs can map mass, charge_C, and moles_product directly into UI tables that mirror the worked example students write on paper when they apply Faraday's law by hand.
Integration use cases
Tutoring and curriculum generators
Lesson builders produce worked Faraday mass examples with structured JSON for flashcards, step sheets, and auto-graded electrochemistry drills.