---
title: "Discussion on \"A Cup Is Not a Cup: Why Volume Units Need a Locale\" | Hashnode"
description: "Discussion on \"A Cup Is Not a Cup: Why Volume Units Need a Locale\". A US cup, a metric cup, and an Imperial pint are three different volumes — so a converter that ignores locale is wrong before it starts."
url: "https://hashnode.com/posts/a-cup-is-not-a-cup-why-volume-units-need-a-locale/6af922b412bfa1e35dd183f5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Cup Is Not a Cup: Why Volume Units Need a Locale](https://toolkitloop.hashnode.dev/a-cup-is-not-a-cup-why-volume-units-need-a-locale?utm_source=hashnode&utm_medium=feed)

A US cup, a metric cup, and an Imperial pint are three different volumes — so a converter that ignores locale is wrong before it starts.

2h ago · 5 min read · toolkitloop.hashnode.dev  
Read the article

-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#productivity](https://hashnode.com/tag/productivity)

## Written by

[bowen Tse](https://hashnode.com/@bowentse)

@bowentse

  
[View profile](https://hashnode.com/@bowentse)

Founder of ToolkitLoop (toolkitloop.com) — 30 free online tools that run 100% in your browser. No sign-ups, no uploads, private by design.

## Responses 1

Markdown supported · ⌘↵ to post

[QRiQRa Team](https://hashnode.com/@qriqra)

[53m ago](https://hashnode.com/posts/a-cup-is-not-a-cup-why-volume-units-need-a-locale/6af922b412bfa1e35dd183f5/comment/6af935eee6321e52a5515b95)

On your closing question, we would lean toward "neither until asked" for a bare "cup", but only when the source gives no hint at all. If there is any locale signal (the recipe site's language, the page's other units, or the user's own setting), defaulting from that and showing it, as you already do with the "US cup" label, seems like the better balance. A one-click switch next to the result might cost less than a prompt on every conversion. Your point that rounded display values must never feed back into the calculation is one we would put near the top for anyone scaling recipes.
