ForHosting KIT · Home, food & hobbies

Cake pans calculator

Baking an 8-inch recipe in a 9-inch round pan of the same depth takes 1.265625 times the batter, just over a quarter more. Enter diameter and depth for both pans and get the factor for every ingredient. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
From diameter
8
From depth
2
To diameter
9
To depth
2
You get
From radius
4
To radius
4.5
From volume
100.5309649149
To volume
127.2345024704

A printed cake formula almost always assumes one round tin, yet home bakers and pastry stations swap pans constantly. Diameter is not a linear lever: the batter footprint grows with the square of the radius, and a deeper pan holds more even when the diameter is unchanged, so moving from an eight-inch two-inch-deep layer pan to a nine-inch tin or a three-inch-deep tin is a volume problem. This cake pans calculator accepts the inside diameter and depth of a source round pan and of a target round pan, treats each tin as a cylinder, and returns the volume scaling factor you multiply into the original batter. Volume is pi times radius squared times depth; the scale factor is the ratio of those two volumes, which simplifies to diameter squared times depth over diameter squared times depth, so pi cancels. Every dimension must be a positive finite number in the same length unit.

The cylinder formula and what the scale factor means

When bakers convert between round cake pans they almost always mean one practical question: how much batter does the new tin need so it fills to a comparable depth and still bakes as a layer rather than a puddle or a volcano. For a straight-sided round pan that question is cylinder geometry, not a brand chart. Inside diameter d gives radius r equal to d divided by two.

If you fill to a depth h, the useful batter volume is V equals pi times r squared times h, which is the same identity as V equals pi times d squared times h divided by four. A classic eight-inch pan two inches deep versus a nine-inch pan of the same depth therefore scales by eighty-one over sixty-four, which is exactly 1.265625: you need about twenty-seven percent more batter, or 126.5625 percent of the original mix.

If only the depth changes, the diameters cancel and the factor is simply the depth ratio, so the same eight-inch pan taken from two inches of fill to three inches of fill is a factor of one point five. If only the diameter changes, the depths cancel and you are left with the square of the diameter ratio. Height here is the fill depth you intend, which is usually the stamped pan depth minus a little headspace for rise; the calculator does not invent headspace, bake time, or oven temperature.

Tapered, fluted, bundt, and loaf pans are out of scope because they are not cylinders. Square-to-round equal-area conversion is a different search intent served by dedicated cake-tin tools.

Where a cake pans volume scaler earns its keep

Home cooks meet this conversion when a layer-cake card calls for two nine-inch rounds two inches deep and the only clean tins in the cupboard are eight-inch pans of a different depth, or when a European formula lists twenty centimetres by five centimetres while the American shelf is stamped in inches of another height. Bakery production sheets scale a single mix across alternate round moulds so a wedding-cake tier or a cafe sponge fills without overflowing the rim or baking too thin in the centre.

Recipe publishers and CMS widgets need a deterministic oracle that rejects zero or negative diameter instead of silently returning a zero volume that a buggy scaler might treat as success. Culinary classrooms use the same pi r squared h identity that geometry class already taught, now wired to kitchen units, so worksheet keys do not depend on opaque apps that mix diameter with radius or forget depth.

Product teams call the contract from scripts to seed test vectors for recipe importers, to normalize user-entered pan fields before scaling a batch, or to satisfy programming-challenge statements that demand a documented cylinder ratio rather than a hand-waved chart. This tool is not a round-to-square area matcher and not a single-pan footprint calculator: those are neighbouring search intents with their own pages. Failed validation does not consume balance.

Bakery mixes across two round tins

When production swaps a shallow large round for a deeper smaller round, apply the volume factor so the same batch fills both moulds without overflow.

What happens if a diameter or depth is zero or negative?

Any pan dimension that is not strictly positive is rejected and not billed.

Must both pans use the same length unit?

Yes. The scale factor is a pure ratio. Measure both diameters and both depths in inches, or all four in centimetres; this calculator does not convert units.

Does this convert a round pan to a square pan?

No. It scales volume between two round (cylindrical) pans from diameter and depth. Equal-area round-to-square tin matching is a different tool.

What if only the depth of the pan changes?

Then the diameters cancel and the factor is simply the ratio of the depths. Going from 2 to 3 inches of fill in the same 8-inch pan gives 1.5, so you make one and a half times the batter.

What depth should I enter for each pan?

Enter the depth you plan to fill, which is usually the stamped pan depth minus a little room for the cake to rise. The calculator adds no headroom of its own and says nothing about bake time or oven temperature.

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.

POSThttps://api.kit.forhosting.com/cook/cake-pans

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.

curl -X POST https://api.kit.forhosting.com/cook/cake-pans \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"from_diameter":8,"from_depth":2,"to_diameter":9,"to_depth":2}'
{
  "from_diameter": 8,
  "from_depth": 2,
  "to_diameter": 9,
  "to_depth": 2
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "cook.cake_pans",
  "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.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Zero, negative, missing, or non-numeric values fail with invalid_input and are not billed.

The cylinder formula and what the scale factor means

Give the recipe pan through from_diameter and from_depth, give the pan you will actually bake in through to_diameter and to_depth, and the scale factor is the ratio of those two volumes. Pi appears in both the numerator and the denominator, so it cancels, and the working identity is scale_factor equals to_diameter squared times to_depth divided by from_diameter squared times from_depth. The response echoes the four dimensions, reports both cylinder volumes with pi restored so cubic units are visible, the dimensionless scale_factor that you multiply into every ingredient that scales with volume, and batter_percent as scale_factor times one hundred for recipe cards that speak in percentages. This endpoint answers only the volume factor between two round pans.

Input contract, response shape, and error behaviour

All four lengths must share one unit: if the source pan is measured in inches, the target pan must be in inches too, because the scale factor is a pure ratio and this calculator does not convert inches to centimetres for you. POST a JSON body with four required positive finite numbers: from_diameter and from_depth for the pan the recipe was written for, and to_diameter and to_depth for the pan you will grease and fill. Each field may arrive as a JSON number or as a numeric string; aliases source_diameter, d1, and from_d feed from_diameter; source_depth, from_height, h1, and from_h feed from_depth; target_diameter, d2, and to_d feed to_diameter; target_depth, to_height, h2, and to_h feed to_depth, so spreadsheets and typed forms can reuse the same contract without renaming columns. Missing fields, empty strings, non-finite values, magnitudes above the documented ceiling, and any dimension that is not strictly greater than zero fail with invalid_input naming the field; those failures are not billed. On success the body includes the echoed dimensions, from_radius and to_radius, from_volume and to_volume in cubic units of whatever length you used, scale_factor as the primary result, batter_percent equal to one hundred times that factor, a formula string restating the cylinder ratio, and method set to round_pan_volume_ratio for stable client branching. Example: from_diameter eight, from_depth two, to_diameter nine, to_depth two returns scale_factor 1.265625 and batter_percent 126.5625. Pair the factor with your own ingredient list: multiply flour, sugar, fat, and liquid by scale_factor when they track batter volume; leave chemical leaveners and salt to baker judgement when a large jump would unbalance the formula.

Where a cake pans volume scaler earns its keep

Keep requests small, pin the rounded scale_factor in tests, and you get reproducible batter adjustments for kitchen notebooks, LMS plugins, and edge workers without standing up a general geometry library of your own.

Layer-cake pan swaps at home

Scale an eight-inch two-inch-deep layer recipe into a nine-inch tin of the same depth by multiplying batter by the returned scale_factor before you mix.

Recipe tools and CMS widgets

Call the API from a recipe card so diameter and depth fields always map to the same cylinder ratio in published conversions and kitchen notebooks.

How do I convert batter between two round cake pans?

Send from_diameter, from_depth, to_diameter, and to_depth as positive numbers in the same unit. The API returns scale_factor = (to_diameter² · to_depth) / (from_diameter² · from_depth), which is V_to / V_from for cylinders.

What does the cake pans calculator cost?

The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →