Why Do Different Sources Give Me Different Bra Sizes? Build the Sizing Rules in JavaScript and Watch Them Disagree
"i've measured my bust (40in) and my band (30in)... the calculator says I'm a 32DD/DDD, but i've been told by different sources that i'm a 30G, 30 DDD, 36 D, and even a 30 E. i've tried the method of going up a cup size
"i've measured my bust (40in) and my band (30in)... the calculator says I'm a 32DD/DDD, but i've been told by different sources that i'm a 30G, 30 DDD, 36 D, and even a 30 E. i've tried the method of going up a cup size using the difference but i end up with something completely different - a 30J... could someone explain why i'm getting such different and drastic results?"
That's from an r/ABraThatFits post titled "Why is it that different sources give me different bra sizes? Am I measuring correctly?" Two tape measurements went in, and seven different sizes came out. In October 2026 someone in the same subreddit visited four stores and an online calculator after losing weight and came home with 30G, 32F, 34C, 34DD, 32DDD, 32H and "30DD/DDD // 32D/DD". Their conclusion: "the correct size 'depends' and isn't standard." On X in October 2026, someone wrote that a basic calculator gave them a G cup, a retailer's calculator gave them a C on the same band, and in most brands they actually wear something else again.
The question has a developer side too. A 2014 Stack Overflow question with about 28,000 views comes from someone building "a basic bra size calculator" and getting stuck on the very first step: rounding to the nearest even number. Bra calculators are a classic first JavaScript project, like BMI calculators. The arithmetic takes about ten lines. What these threads show is that the ten lines contain at least four decisions, and each calculator makes them differently without telling you.
This post builds those decisions as a small, dependency-free JavaScript module, runs every rule on the Reddit poster's own numbers, and tests the results against published size tables. There are 13 node --test tests, and every number in the two charts below is checked by them. It's sizing arithmetic, not fitting advice: the point is to explain why the labels differ, not to tell anyone which bra fits.
Who asks, and what they actually want
Reading the threads, the askers fall into three groups:
- People with a pile of conflicting sizes. The first poster and the October 2026 one. They want to know whether they measured wrong or whether the sources disagree.
- People who got a big jump. A July 2026 post asked "Is this calculator really accurate?" after going from a store's 34B to a calculator's 34DD/DDD. They want to know which number to trust.
- Developers. The Stack Overflow asker and plenty of "I built a bra size calculator" posts. They want the formula. The interesting part is everything around it.
The replies on the first thread were quick and mostly right. One said some calculators "add inches to your measurements," a practice the commenter traced back to bands made before stretch fabrics. Another said the asker's measurements would be "a UK 30GG or US 30J." Both replies point at the same thing. The answer depends on which rule you run and which label alphabet you print, so let's write those down.
A bra size is two integers, not a string
Before any code, pick the data model. Every rule I've seen ends up at two numbers:
- Band: an even number of inches (28, 30, 32 ... 46 in the range used here).
- Cup step: how many inches the bust measurement is over that band, rounded to a whole inch. 0 is AA, 1 is A, 2 is B, 3 is C, 4 is D, and so on.
The letters come last. They are a label for the step, and the label depends on the region. If your code stores "32DD" as the size, you have already lost the information you need to compare two calculators. Store { band: 32, step: 5 } and render a label at the edge.
Decision 1: how to round the band
The Stack Overflow asker wanted 31.25 to become 32, 30.25 and 30.5 to become 30, and 29 to become 30. "The odd number is the middle divide for rounding," they wrote. The accepted answer is one line:
const plus0 = (underbustIn) => 2 * Math.round(underbustIn / 2);
Divide by two, round, multiply by two. Math.round rounds exact halves towards positive infinity, so an underbust of exactly 31 inches becomes 32. That matches the rule published on the Body Visualizer bra size calculator: "Band = 2 Γ round(underbust in inches Γ· 2)," with "exact half steps" rounding upward. I'll call this the no +4 rule.
The +4 rule adds four inches before rounding. The Body Visualizer page describes its comparison version as "adding four inches and rounding the band upward to an even number":
const plus4 = (underbustIn) => 2 * Math.ceil((underbustIn + 4) / 2);
For comparison the module also includes a third variant, plus4or5: add 4 if the whole-inch reading is even, 5 if it's odd. Across the whole range, the +4 band is either 4 or 6 inches bigger than the no +4 band for the same tape reading. That's the left panel of the second chart below.
Decision 2: subtract the rounded band, not the raw tape
export function cupStep(bustIn, band) {
return Math.max(0, Math.round(bustIn - band));
}
The cup step is the bust minus the band you chose, not minus the underbust you measured. This one line explains most of the disagreement. If a +4 rule makes the band 4 inches bigger, the cup step drops by 4. For the Reddit poster (bust 40, and a "band" measurement of 30, which is the underbust), the no +4 rule gives band 30 and step 10. The +4 rule gives band 34 and step 6. Both used the same tape readings and the same subtraction; they only rounded the band differently.
Differences of zero or less get the AA label rather than a negative step. Half steps round up, like the band.
Decision 3: which alphabet to print
Here's where people really get lost, and it's a pure lookup-table problem. Wacoal and Freya publish international size guides that line up UK, US, EU, French and Australian labels. Freya says its own lingerie "uses UK underband and cup sizing." Transcribed by step:
export const LADDERS = {
US: ["AA", "A", "B", "C", "D", "DD", "DDD", "G", "H", "I", "J", "K", "L", "M", "N", "O"],
UK: ["AA", "A", "B", "C", "D", "DD", "E", "F", "FF", "G", "GG", "H", "HH", "J", "JJ", "K"],
AU: ["AA", "A", "B", "C", "D", "DD", "E", "F", "FF", "G", "GG", "H", "HH", "J", "JJ", "K"],
EU: ["AA", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O"],
};
Bands convert too. In those tables a UK or US 32 is EU 70, French 85 and Australian 10. Each 2-inch band step is 5 in EU and French numbering, and AU is the UK number minus 22.
The ladders agree up to D and then split. UK goes DD, E, F, FF, G, GG. US goes DD, DDD, G, H, I, J. EU skips the doubled letters entirely. Two practical consequences:
- US 30DDD and UK 30E are the same size. Both are band 30, step 6. Two of the poster's "different" answers are one answer printed in two alphabets.
- "30G" is ambiguous. In US labels G is step 7; in UK labels it's step 9. A source that prints "30G" without a region could mean either, and they're two cup steps apart.
Many US brands print step 6 as "F" rather than "DDD", which is why the Body Visualizer page shows "DDD/F". My parser accepts both for US, and refuses anything that isn't on the ladder for the region you passed in. US "FF" is an error, not a guess:
export function parseLabel(text, region = "US") {
const m = /^\s*(\d{1,3})\s*([A-Z]{1,4})\s*$/i.exec(String(text));
if (!m) throw new RangeError(`cannot parse bra label "${text}"`);
const num = Number(m[1]);
let cup = m[2].toUpperCase();
if (region === "US" && cup === "F") cup = "DDD"; // "DDD/F"
const step = LADDERS[region].indexOf(cup);
if (step < 0) throw new RangeError(`"${cup}" is not a ${region} cup label`);
const band = { US: num, UK: num, AU: num + 22, EU: 28 + ((num - 60) / 5) * 2, FR: 28 + ((num - 75) / 5) * 2 }[region];
return { band, step };
}
Decision 4: sister sizes, and why "different" answers are often neighbours
Bravissimo's sister-size guide describes sizes that keep "the same cup volume" while the band changes. Go one band down and one cup up, or the other way round. Their example is that 34FF has the same cup size as 32G and 36F. In code, that means band / 2 + step stays constant along a sister diagonal:
export const volumeIndex = (band, step) => band / 2 + step;
export function sisterSizes(band, step, region = "US") {
return [[band - 2, step + 1], [band + 2, step - 1]]
.filter(([b, s]) => inRange(b, s))
.map(([b, s]) => label(b, s, region));
}
Now put every size the Reddit poster was given on one grid:

Why do different sources give me different bra sizes? The seven sizes one Reddit poster was given, placed by band and cup step. Most sit on two neighbouring sister-size lines.
The pile of answers isn't random:
- 30DDD (US) and 30E (UK) are the same point.
- 36D, 32DDD and US 30G are on one sister line (volume index 22). So are 34DD and the rest of that diagonal.
- 32DD and 30DDD/30E are on the line just below (index 21).
- UK 30G is two steps above US 30G. Same string, different size.
- The poster's own one-cup-per-inch answer, 30J (or UK 30GG), is on line 25. That's three or four cup volumes away from the cluster.
So the real disagreement is between "no +4 on a standing bust" (30J) and everything else, which sits three to four cup volumes lower. In this thread that's the gap that matters. It's also where the code stops being able to help: two tape readings can't tell you which of those volumes will fit, and the commenters pointed the poster to a calculator that asks for more measurements.
One more thing worth noticing: sister sizes don't keep the implied bust (band plus step) constant. Walk from 36D to 34DD to 32DDD to 30G and the implied bust goes 40, 39, 38, 37 inches. That's why a calculator that "fixes" a band and then recomputes the cup from the same bust gives a different letter from one that offers the sister size. The test suite pins this down so nobody "simplifies" it later.
Which bust measurement? The October 2026 numbers
The October 2026 poster listed six measurements from the r/ABraThatFits calculator: loose, snug and tight underbust of 31, 30 and 29 inches, and standing, leaning and lying bust of 35, 36 and 34 inches. Run the two-measurement rules on them:
| Rule | Bust reading | US | UK |
|---|---|---|---|
| no +4, snug 30 | standing 35 | 30DD | 30DD |
| no +4, snug 30 | leaning 36 | 30DDD | 30E |
| +4, snug 30 | standing 35 | 34A | 34A |
| +4, snug 30 | leaning 36 | 34B | 34B |
The calculator's answer, "30DD/DDD // 32D/DD", is the span between the standing and leaning rows, plus each one's sister size (32D is the sister of 30DD, 32DD the sister of 30DDD). I don't know the internals of that calculator beyond what commenters say (it uses six measurements rather than two), so I'm not claiming this is how it works. It shows that picking which bust reading to subtract moves the answer by a full cup step before any rule is applied. The in-store answers in that thread came from fittings, not formulas, so I won't guess which rule each store used.
The boundary: a tenth of an inch, two cup steps
The Body Visualizer methodology includes a useful worked example. Underbust 31 inches, bust 36: band 32, difference 4, so US 32D. Move the underbust to 30.9 and the band rounds to 30, the difference becomes 6, and the label jumps to US 30DDD/F or UK 30E. The page says it plainly: "This jump reflects a discrete sizing boundary, not a sudden physical change."

Why do different sources give me different bra sizes? Left: the two band rules side by side. Right: at an odd-inch underbust, a tenth of an inch moves the cup by two steps, and so can a float.
Now add a units toggle, the feature every beginner project gets asked for. A user types 31 inches. You store centimetres, so you save 31 Γ 2.54 = 78.74. They switch back, or you compute in inches:
78.74 / 2.54; // 30.999999999999996
2 * Math.round(78.74 / 2.54 / 2); // 30, not 32
The size flips from 32D to 30DDD because of IEEE-754 rounding, with nothing wrong in the measurement. Plenty of other readings also fail to round-trip exactly (28.1, 29.5 and 31.2 inches all come back off in the fifteenth decimal place). Most of them are harmless, but any value that lands on a rounding boundary isn't. The fix is to snap after converting:
export function toInches(value, unit = "in") {
if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) {
throw new RangeError(`measurement must be a positive finite number, got ${value}`);
}
if (unit === "in") return value;
if (unit === "cm") return Math.round((value / CM_PER_IN) * 1e6) / 1e6;
throw new RangeError(`unknown unit ${unit}`);
}
A millionth of an inch is far below anything a tape can read, so snapping costs nothing. The Body Visualizer page says it stores measurements in centimetres, changes only the display when you switch units, and that "repeatedly switching units does not" change the result. That's the behaviour to copy, and it's what the identity test below enforces.
Putting it together, and refusing when it should
export function braSize({ underbust, bust, unit = "in", rule = "plus0" }) {
const u = toInches(underbust, unit);
const b = toInches(bust, unit);
const band = bandRules[rule](u);
const step = cupStep(b, band);
if (!inRange(band, step)) {
return { status: "out-of-range", band, step,
reason: band < LIMITS.minBand || band > LIMITS.maxBand ? "band" : "cup" };
}
const labels = Object.fromEntries(Object.keys(LADDERS).map((r) => [r, label(band, step, r)]));
return { status: "ok", rule, band, step, labels,
volumeIndex: volumeIndex(band, step), sisters: sisterSizes(band, step) };
}
The range here is the one the Body Visualizer calculator uses: bands 28 to 46 and cups through US N or UK JJ. Outside it, the function returns a status instead of the nearest size it knows. The site's wording is worth copying: these are "the limits of this tool, not limits on bodies or available garments." A calculator that silently clamps a 50-inch band to 46 is wrong, and it reads as a judgement on the user.
The tests
The suite has 13 tests (node --test, Node 24). A selection, abridged:
test("Body Visualizer golden values: 31 in / 36 in -> US 32D, UK 32D, EU 70D, FR 85D, AU 10D; sisters 30DD, 34C", () => {
const s = braSize({ underbust: 31, bust: 36 });
assert.deepEqual(s.labels, { US: "32D", UK: "32D", AU: "10D", EU: "70D", FR: "85D" });
assert.deepEqual(s.sisters, ["30DD", "34C"]);
});
test("Reddit asker (bust 40, underbust 30): one cup per inch gives US 30J = UK 30GG; +4 gives 34DDD = 34E", () => {
assert.equal(braSize({ underbust: 30, bust: 40 }).labels.US, "30J");
assert.equal(braSize({ underbust: 30, bust: 40 }).labels.UK, "30GG");
assert.equal(braSize({ underbust: 30, bust: 40, rule: "plus4" }).labels.US, "34DDD");
});
test("a label without its region is ambiguous", () => {
assert.deepEqual(parseLabel("30G", "US"), { band: 30, step: 7 });
assert.deepEqual(parseLabel("30G", "UK"), { band: 30, step: 9 });
assert.deepEqual(parseLabel("30DDD", "US"), parseLabel("30E", "UK"));
});
test("unit toggle trap", () => {
assert.equal(bandRules.plus0(78.74 / 2.54), 30); // the bug
assert.equal(braSize({ underbust: 78.74, bust: 91.44, unit: "cm" }).labels.US, "32D"); // the fix
for (let i = 260; i <= 480; i++) {
const u = i / 10;
for (const bust of [u + 2, u + 4.5, u + 7]) {
const a = braSize({ underbust: u, bust });
const b = braSize({ underbust: Math.round(u * 254) / 100, bust: Math.round(bust * 254) / 100, unit: "cm" });
assert.deepEqual([a.status, a.band, a.step], [b.status, b.band, b.step]);
}
}
});
β band rounding: nearest EVEN inch, odd values round up (Stack Overflow 22442831 examples)
β Body Visualizer golden values: 31 in / 36 in -> US 32D, UK 32D, EU 70D, FR 85D, AU 10D; sisters 30DD, 34C
β one tenth of an inch across the boundary: 30.9 / 36 -> US 30DDD (DDD/F), UK 30E
β +4 rule on the same 31 / 36 gives 36AA (the comparison shown on the Body Visualizer page)
β label tables match the Wacoal and Freya international size guides
β Reddit asker (bust 40, underbust 30): one cup per inch gives US 30J = UK 30GG; +4 gives 34DDD = 34E
β a label without its region is ambiguous: '30G' is step 7 in US, step 9 in UK; US 30DDD and UK 30E are the same size
β sister sizes: US 36D, 34DD, 32DDD and 30G share a volume index; bust-minus-band does not
β which bust reading? Oct 2026 thread: snug 30, standing 35, leaning 36 -> 30DD vs 30DDD/30E; +4 gives 34A/34B
β unit toggle trap: 31 in -> 78.74 cm -> back is 30.999999999999996 in, which would flip 32D to 30DDD
β cup step uses the rounded band, not the raw underbust; zero or less is AA
β refuses instead of guessing: bad input throws, out-of-table sizes return a status, never a nearest size
β chart numbers (fixtures/figures.json, drawn by scripts/make_diagrams_d08.py) match the module
βΉ tests 13
βΉ pass 13
βΉ fail 0
Three kinds of test do most of the work. Golden values from a published method (the Body Visualizer worked example and its +4 comparison) catch a wrong rounding direction. Table tests transcribed from the brand guides catch a ladder with a missing or extra letter. That's the kind of bug that turns a UK 30E into a "30F" order. And the inch/cm identity sweep over 663 readings catches the float boundary, which no amount of eyeballing will find, because 30.999999999999996 prints fine in most UIs once you call toFixed(1).
What to put in the UI
A checklist that follows from the code:
- Name the rule. "No +4: band = nearest even inch." If you also show a +4 result, label it as a comparison, not a second answer.
- Always print the region next to the label. "30G" alone is two different sizes.
- Show the same size in other alphabets (US 30DDD = UK 30E = EU 65F), so users can see that two sources agree.
- Show sister sizes as the diagonal, and say they are alternatives to try, not guaranteed matches.
- Flag boundaries. If the underbust is within a couple of tenths of an odd inch, show both candidates rather than pretending the tape is that precise.
- Store one unit, snap on conversion, and test that switching units never changes the size.
- Refuse outside the table with a reason. Never clamp.
- Say what two numbers can't tell you. Shape, tissue and fabric aren't in the formula, and fit is something you check by trying a bra on.
Where Body Visualizer fits
If you want to see these rules without running code, the Body Visualizer bra size calculator linked above publishes its no +4 formula, shows US, UK, EU, FR and AU labels together, marks the sister-size diagonal in a three-by-three grid, and shows the +4 result as an explicit comparison. That's the 31-inch, 36AA example used in the tests. For the "are these two sizes actually different?" question, the breast size comparison tool puts two band-and-cup sizes side by side with their bust-minus-band difference and sister chart, so you can check that 30DDD and 32DD are one band apart while 30DDD and 30E are the same size. The bra size calculator runs in your browser and doesn't save the measurements. The outputs are label arithmetic and an illustrative profile, not a scan or a fitting. And if what you're building is a measurement form rather than a size chart, the body measurement visualizer shows bust, waist and hip circumferences on an estimated 3D model. That model is a bounded deformation of a generic mesh, not a scan of anyone.
So, why do different sources give you different bra sizes?
Because "bra size" isn't one calculation. A source has to pick a band rule (no +4, +4, or +4 or 5), subtract a bust reading (standing, leaning, or an average) from the band it chose, and print the result in a regional alphabet (US DDD, UK E and EU F are the same step). Then it may suggest a sister size, or a store fitter may adjust by eye. The Reddit poster's seven sizes come out of those choices. Two of them are the same size in different letters. Several are sisters of each other. The real split is one rule giving 30J against a cluster three to four cup volumes lower. If you build one of these calculators, keep the size as two integers, name your rule, print the region, snap your unit conversions, and test against published tables. Then your users can at least see why the sources disagree.
Sources
- r/ABraThatFits, "Why is it that different sources give me different bra sizes? Am I measuring correctly?" (September 2025): https://www.reddit.com/r/ABraThatFits/comments/1n60jvt/why_is_it_that_different_sources_give_me/
- r/ABraThatFits, "[Rant] Inconsistent sizing is so frustrating and I'm even more confused than before" (October 2026): https://www.reddit.com/r/ABraThatFits/comments/1xee90k/rant_inconsistent_sizing_is_so_frustrating_and_im/
- r/ABraThatFits, "Is this calculator really accurate?! What's your experience?" (2026): https://www.reddit.com/r/ABraThatFits/comments/1vm4ash/is_this_calculator_really_accurate_whats_your/
- Stack Overflow, "How to use Math.round to round numbers to the nearest EVEN number?" (2014): https://stackoverflow.com/questions/22442831/how-to-use-math-round-to-round-numbers-to-the-nearest-even-number
- Body Visualizer, bra size calculator and methodology: https://body-visualizer.net/bra-size-calculator
- Wacoal, International Size Guide: https://www.wacoallingerie.com/uk/en/size-guide/
- Freya, International Size Guide: https://www.freyalingerie.com/row/en/size-guide/
- Bravissimo, Sister sizes: https://www.bravissimo.com/sister-sizes/
- MDN, Math.round(): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.