Capacitor calculator
Two 10 × 10 cm plates 1 mm apart in vacuum, entered as 0.01 m² and 0.001 m, have a capacitance of 8.8541878128 × 10⁻¹¹ F. Give the absolute permittivity in farads per metre, not a bare dielectric constant. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Area
- 0.01
- Separation
- 0.001
- Permittivity
- 0
- Capacitance
- 0.0000000001 F
- Equation
- C = 8.8541878128e-12 × 0.01 / 0.001 = 8.8541878128e-11
A parallel-plate capacitor stores charge on two conducting faces of overlapping area A separated by a gap d filled with a linear dielectric whose absolute permittivity is epsilon. The textbook identity C equals epsilon times A divided by d converts those three SI quantities into capacitance in farads, which students, sensor designers, and RF layout teams use when checking homework, sizing sense electrodes, or sanity-checking a board stack-up against a simple analytic baseline. Send absolute permittivity in farads per metre, not a unitless dielectric constant.
What parallel-plate capacitance means and how C equals epsilon A over d
An ideal parallel-plate capacitor is two conductors whose facing surfaces overlap over an area A and sit a uniform distance d apart, with a linear isotropic dielectric filling the volume between them. Introductory electrostatics shows that the electric field in the gap is sigma over epsilon when fringing is neglected, so the potential difference is that field times d, and the stored charge over that potential is C equals epsilon times A divided by d.
Epsilon here is the absolute permittivity of the filler, measured in farads per metre, not the unitless relative permittivity that many data sheets print as kappa or epsilon-r. Vacuum uses the electric constant epsilon-zero, about eight point eight five four times ten to the minus twelve farads per metre; dry air is almost the same; plastics, ceramics, and glass use larger epsilon because their relative permittivity multiplies epsilon-zero.
This calculator takes that absolute epsilon as an explicit input so a physics notebook that already computed epsilon equals epsilon-zero times kappa does not have the engine silently multiply again. Plate area is the overlapping face in square metres: a ten-by-ten centimetre pair is one hundredth of a square metre, and a plate that hangs past the other does not count the overhang. Separation is the perpendicular gap in metres; a one millimetre drawing dimension is zero point zero zero one metres.
The model assumes a gap much smaller than the plate width so edge fields can be ignored, a uniform dielectric, and electrostatic conditions with no leakage conductance.
When the parallel-plate formula is enough
Classrooms and tutoring platforms use a capacitor calculator so learners can check C equals epsilon A over d for arbitrary SI triples without dropping a power of ten on the millimetre-to-metre conversion. Sensor and PCB designers size sense electrodes and stack-up gaps against this analytic baseline before running a full field extractor, which is slower and not always available in a notebook. Lesson builders produce SI-unit capacitance checks for demos, auto-graded drills, and lab write-ups without embedding an electromagnetic solver.
Prefer this landing when you already have absolute permittivity in farads per metre and you want the ideal plate formula; if you only have a unitless dielectric constant, multiply by epsilon-zero yourself and send the product as permittivity. Fringing, multilayer stacks, and frequency-dependent dielectrics are outside the ideal formula, so treat the result as the classic textbook baseline rather than a 3D extraction. Failed validation does not consume balance.
Keep classroom centimetre plates and millimetre gaps inside ordinary SI magnitudes, pin the rounded capacitance in tests, and you get reproducible electrostatic arithmetic for homework, LMS plugins, and edge workers without standing up a field solver of your own.
What you can do with it
Sensor and PCB geometry estimates
Designers size sense electrodes and stack-up gaps with a deterministic parallel-plate baseline before running a full field extractor or lab measurement.
Curriculum and lab notebooks
Lesson builders produce SI-unit capacitance checks for demos, auto-graded drills, and lab write-ups without embedding a full electromagnetic solver.
FAQ
How do I calculate parallel-plate capacitance?
The response includes capacitance in farads from C = ε A / d.
Is permittivity the same as the dielectric constant?
No. Send absolute permittivity ε in farads per metre. If you have a unitless relative permittivity κ, compute ε = ε0 · κ first (ε0 ≈ 8.8541878128e-12 F/m) and send that product.
What units does the capacitor calculator use?
SI units: area in square metres, separation in metres, permittivity in farads per metre, capacitance in farads. Convert cm² or mm gaps to metres before calling.
Does the part of a larger plate that overhangs count?
No. Only the face where both plates overlap counts as area, and a plate that hangs past the other adds nothing. Measure only that overlap, in square metres.
What does the formula assume about the gap?
That it is much smaller than the plate width, so edge fields can be ignored, that the dielectric fills it uniformly and that nothing leaks. Gaps of zero or below, and positive gaps too tiny to compute reliably, are rejected.
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/phys/capacitor \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"area":0.01,"separation":0.001,"permittivity":8.8541878128e-12}'const res = await fetch("https://api.kit.forhosting.com/phys/capacitor", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"area": 0.01,
"separation": 0.001,
"permittivity": 8.8541878128e-12
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/phys/capacitor",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"area": 0.01,
"separation": 0.001,
"permittivity": 8.8541878128e-12
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/phys/capacitor", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"area":0.01,"separation":0.001,"permittivity":8.8541878128e-12}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"area":0.01,"separation":0.001,"permittivity":8.8541878128e-12}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/phys/capacitor", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"area": 0.01,
"separation": 0.001,
"permittivity": 8.8541878128e-12
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "phys.capacitor",
"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
This calculator evaluates that relation, returns structured JSON including the capacitance and the formula used, and rejects a separation that is not strictly positive so a divide-by-zero never masquerades as a finite answer.
What parallel-plate capacitance means and how C equals epsilon A over d
Identical inputs always produce identical JSON because the path is a few finite-number checks and one division, with no network, no random seed, and no wall clock. Zero or negative separation is rejected as invalid_input rather than returning infinity from a one-over-d singularity, which is the physically honest contract for this formula.
Input contract, response shape, and error behaviour
Area and permittivity must be strictly positive. Extremely tiny positive gaps below a numerical floor are also rejected so denormal noise cannot masquerade as a huge capacitance. Example: area zero point zero one square metres, separation zero point zero zero one metres, and vacuum permittivity eight point eight five four times ten to the minus twelve farads per metre yields about eight point eight five four times ten to the minus eleven farads. Convert centimetres and millimetres to metres yourself before calling; mixing units produces a well-formed number that is wrong for the geometry you intended. POST a JSON body with three required finite numbers: area, the overlapping plate area in square metres; separation, the plate gap in metres; and permittivity, the absolute permittivity of the gap in farads per metre. Each field may arrive as a JSON number or as a numeric string. Aliases A and plate_area are accepted for area; d, gap, and distance for separation; and epsilon, eps, and e for permittivity, so lab notebooks and CAD exports can map without renaming columns. Missing fields, empty strings, and non-finite values fail with invalid_input naming the field, and those failures are not billed. Separation must be strictly positive: zero gap makes C equals epsilon A over d divide by zero, and a negative gap does not describe two plates facing each other, so both cases raise invalid_input with a message that the separation must be positive. On success the body echoes the rounded area, separation, and permittivity, then reports capacitance in farads, a formula string C equals epsilon A over d, an equation string that substitutes the numbers, unit F, and method parallel_plate. A successful API call costs $0.002.
Where a parallel-plate capacitor API earns its keep
Exam-prep generators need a deterministic oracle that marks a zero gap as invalid_input instead of silently returning Infinity that a buggy grader might treat as success.
Integration use cases
Homework and exam verification
Students enter plate area, gap, and absolute permittivity, compare farad results with hand work, and get a clear invalid_input when separation is zero by mistake.
Technical questions
What happens if plate separation is zero or negative?
The request fails with invalid_input. Zero or negative gap makes the ideal formula divide by d, so the engine rejects it and does not charge the call.
What does the capacitor calculator cost?
The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.