Cake tin size converter
An 8-inch round tin covers the same area as a square tin with sides of about 7.09 inches. Enter a diameter or a side in inches or centimeters and get the matching tin in both units, plus the shared area. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Size
- 8 in
- Shape
- round
- Diameter in
- 8 in
- Diameter cm
- 20.32
- Side in
- 7.0898154036
- Side cm
- 18.0081311252
This cake tin size converter turns a round pan diameter or a square pan side into the equal-area counterpart so you can swap tins without guessing how much batter will fit. Baking books and recipe cards often list an eight-inch round or a twenty-centimeter square tin; home kitchens rarely stock every size, so cooks need a reliable bridge between shapes. The engine matches pan area with closed-form geometry: round area is pi times radius squared, square area is side squared, so the side that matches a diameter d is d times square root of pi over two, and the diameter that matches a side s is two s over square root of pi. Lengths are reported in both inches and centimeters using the exact 2.54 factor, and the shared area appears in square inches and square centimeters. Small checks include an eight-inch round mapping to a square side of about seven point zero nine inches, and a twenty-centimeter square mapping back to a round diameter of the same area. Everything is pure arithmetic with no network calls, no sampling, and no date-dependent shortcuts.
What swapping tins by equal area means
When bakers say two cake tins are interchangeable, they usually mean the floor area of the pan is close enough that the same batter depth and bake time remain usable. A round tin is defined by its diameter d; its area is pi times (d over two) squared. A square tin is defined by its side length s; its area is simply s squared.
Setting those areas equal yields the map s equals d times square root of pi over two, and d equals two s over square root of pi. You send a positive size, a shape of round or square, and an optional unit of inches or centimeters; the engine normalizes the input to inches, computes the counterpart side or diameter, then expands both dimensions into inches and centimeters and reports the shared area in square inches and square centimeters.
There is no batter-volume model, no pan-depth field, no loaf or bundt geometry, and no brand-specific chart: those are different search intents and belong on dedicated tools. Invalid cases include a missing size or shape, non-finite numbers, sizes above the documented ceiling, unknown shape or unit tokens, and any non-positive size, because a pan diameter or side cannot be zero or negative.
Where cake tin conversion fits in cooking and software
Home cooks meet this conversion when a recipe calls for a nine-inch round cake tin and the only clean pan in the cupboard is an eight-inch square, or when a European formula lists twenty centimeters square while the American shelf is stocked in inches. Bakery production sheets convert between round and square formats so the same batter batch fills alternate moulds without overflowing or baking too thin.
Teachers and culinary students use fixed geometric factors for worksheet keys without trusting opaque calculator apps that silently round pi or mix diameter with radius. Product teams call the same contract from scripts to seed deterministic test vectors for recipe importers, to normalize user-entered pan fields before scaling a batch, or to satisfy programming-challenge statements that demand documented equal-area identities rather than a hand-waved chart.
What you can do with it
Swap round and square tins for a recipe
Convert an eight-inch round cake tin to the equal-area square side (or the reverse) so batter depth stays comparable.
Inches and centimeters on the same sheet
Report diameter, side, and pan area in both inches and centimeters when adapting US and metric baking formulas.
FAQ
What does the cake tin size converter cost?
It is free in your browser on this page.
How are round and square sizes matched?
By equal pan area. Depth and batter volume are not modeled.
What happens if size is zero or negative?
Cake tin diameter and side length must be positive finite numbers.
Which units are supported?
Inches (in) and centimeters (cm). The default unit is inches. Both diameter and side are always returned in inches and centimeters.
Does this convert loaf pans or rectangular tins?
No. It only maps round diameter to square side (and back) by matching area. Use a dedicated tool for loaf, bundt, or non-square rectangles.
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/cook/cake-tin \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"size":8,"shape":"round"}'const res = await fetch("https://api.kit.forhosting.com/cook/cake-tin", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"size": 8,
"shape": "round"
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/cook/cake-tin",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"size": 8,
"shape": "round"
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/cook/cake-tin", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"size":8,"shape":"round"}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"size":8,"shape":"round"}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/cook/cake-tin", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"size": 8,
"shape": "round"
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "cook.cake_tin",
"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.
Limits
max_abs_size | 1000000 |
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
Use it free in the browser while adapting family recipes, or call the API at $0.002 per successful request when recipe software must convert tin sizes without re-implementing the equal-area formulas.
What equal-area tin conversion means and what the response contains
That geometric bridge is what this converter applies on every request. The response echoes the normalized size, shape, and unit, plus diameter_in, diameter_cm, side_in, side_cm, area_sq_in, area_sq_cm, the precision applied, a method tag equal_pan_area, and a short formula reminder. If validation fails you get invalid_input with a clear message and the request is not charged.
How size, shape, and unit are read so results stay reproducible
Optional leading plus signs and scientific notation on size strings are accepted when they parse as finite decimals; embedded spaces, hex prefixes, and non-numeric tokens are rejected so a bad cell does not become a silent wrong tin. The preferred fields are size for the numeric length, shape for whether that length is a round diameter or a square side, and unit for inches or centimeters. Aliases such as value, dimension, measure, and n map to size; form, pan, and type map to shape; units, u, and length_unit map to unit, so spreadsheets, query strings, and typed forms can reuse the same contract without renaming columns. Shape aliases include circle, circular, diameter, diam, sq, and side so a baker pasting from a recipe card does not fail on casual wording. Unit aliases include inch, inches, centimeter, centimetre, and the plural forms, with a default of inches when unit is omitted. Size must be strictly greater than zero: zero and negative values fail with invalid_input because a cake tin cannot have a non-positive diameter or side. An optional precision field, with aliases decimals and dp, chooses how many decimal places to expose for size and all derived lengths and areas, defaulting to ten and capped at fifteen so JSON goldens stay stable across runs. Pair the free browser run on this page with the priced API when you need the identical mathematical result inside an automated pipeline without re-implementing the square-root-of-pi factors yourself.
Where cake tin conversion fits in cooking and software
On this page the work runs entirely in your browser; through the API each successful lookup costs $0.002, failed validation is not charged, and nothing is stored after the response returns. That split — free interactive exploration and a priced, identical API — matches the rest of the KIT tier-A catalog and lets you move from a kitchen demo to an automated pipeline without changing the mathematical result. Pair it with general unit tools when you need pure length conversion without pan geometry, and keep this endpoint when the search intent is specifically cake tin sizes between round and square pans by matching pan area in inches and centimeters.
Integration use cases
Deterministic recipe-app fixtures
Generate reproducible equal-area tin pairs for unit tests, importers, and CI without hand-maintaining conversion tables.