Use this free coffee brew ratio calculator to determine the exact coffee-to-water measurement and grind size for perfect pour-over, espresso, or French press.
AI Generation Prompt
Free Coffee Brew Ratio & Grind Size Calculator
Overview
A high-performance, responsive single-page web application designed to help coffee enthusiasts calculate the precise ratio of coffee grounds to water. The application provides visual guides for grind size recommendations based on common brewing methods (e.g., Pour-Over, French Press, Espresso, Cold Brew).
Core Features
- Live Calculation Engine: Real-time updates as users adjust input sliders for coffee mass (grams) or water volume (ml/oz).
- Ratio Slider: An interactive slider allowing users to set their preferred ratio (from 1:10 to 1:20).
- Method Selector: Pre-sets ratios and grind size suggestions for popular brew methods.
- Grind Size Visual Guide: A descriptive table explaining the appropriate texture (e.g., table salt, sea salt, sand) for different brewing techniques.
- Unit Conversion: Toggle between Metric (g/ml) and Imperial (oz) units for maximum accessibility.
UI Layout & Design
Aesthetic Directive
- Color Palette: Warm, professional palette using off-white (#FAFAFA), soft cream (#F5F5DC), warm espresso brown (#4B3621) for accents, and charcoal (#333333) for high-contrast text.
- Style: Clean, SaaS-inspired design with rounded corners, subtle drop shadows, and responsive grid layouts.
- Typography: Modern, legible sans-serif font (e.g., Inter or system-ui) to ensure readability.
Layout Structure
- Header: Simple, clean title and description header.
- Input Area: Two primary input fields (Coffee Grams, Water Volume) and a Ratio Slider.
- Results Card: A highlighted section showing the calculated dosage clearly.
- Guide Section: An accordion-style section below the calculator displaying grind size recommendations.
Developer Constraints & Technical Requirements
- Architecture: One single
.htmlfile containing all HTML, CSS (in<style>tags), and JS (in<script>tags). - State Management: Use in-memory variables. ABSOLUTELY NO
localStorage,sessionStorage, orcookies. - Responsiveness: Use Flexbox/Grid for a mobile-first responsive design. The layout should stack vertically on small screens and expand horizontally on desktops.
- Interactions: Use smooth CSS transitions for slider changes and input focus states. Avoid jarring animations.
- External Resources: Allowed only via CDN (e.g., Tailwind CSS via CDN for rapid styling, Phosphor Icons for UI elements).
- Performance: Optimized for instant calculation without page reloads.
- Modals: Any alerts (e.g., 'invalid input') must be rendered as custom modal overlays within the HTML DOM, not standard browser alert/prompt boxes.
Spread the word
Files being used
Frequently Asked Questions
Everything you need to know about using this application.
What is the standard coffee-to-water brew ratio?
The most widely accepted 'Golden Ratio' for brewing coffee is 1:16, meaning one gram of coffee for every sixteen grams of water. This ratio is typically recommended by professional baristas as a starting point to balance flavor, acidity, and body, regardless of whether you are brewing a single cup or a full carafe. Depending on your personal preference or the brewing method, you may choose to deviate from this standard. A stronger, more intense brew might lean toward a 1:14 or 1:15 ratio, while a lighter, more tea-like extraction often uses 1:17 or 1:18.
How does grind size affect my coffee extraction?
Grind size is directly correlated to the surface area of your coffee grounds and the speed at which water passes through them. A finer grind size, such as that used for espresso, increases the surface area and requires a shorter brew time, as it offers more resistance to the water. If the grind is too fine for your brew method, the coffee may taste bitter or astringent. Conversely, a coarser grind, such as that used for a French Press, allows water to flow through the grounds more easily and requires a longer extraction time. If your coffee tastes sour or watery, your grind size might be too coarse, causing under-extraction. Adjusting your grinder is the most effective way to dial in your flavor profile.
How do I calculate coffee amount if I only know my water volume?
To calculate the required coffee mass, simply divide your total water volume by your desired ratio. For example, if you want to use 500 grams of water with a 1:16 ratio, you divide 500 by 16, resulting in 31.25 grams of coffee needed. This formula ensures consistency across different brewing volumes. Our tool automates this calculation in real-time. By inputting your desired water amount or coffee amount, the application instantly updates the corresponding value based on your selected ratio slider, ensuring you never have to do the mental math while preparing your morning cup.
Does this tool save my settings between browser sessions?
This application operates entirely in-memory for security and performance purposes. Due to the strict sandboxed environment and our commitment to user privacy, no settings, preferences, or calculations are stored in your browser's local storage, cookies, or database. Once you close the browser tab or refresh the page, your current input values will reset to their defaults. This ensures that the application remains lightweight and completely stateless, providing a clean slate for every brewing session without leaving any tracking data behind.



