Skip to content

Simple tool for calculating the recipe for sourdough bread

Notifications You must be signed in to change notification settings

dleon86/sourdoughCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sourdough Recipe Calculator

This is a JavaScript function that calculates the recipe for a sourdough dough given the desired final mass, hydration, and the percentages of different flour types and salt. The code also includes a user interface that allows the user to input the desired parameters and display the results in an HTML table. The code also includes listeners for the "calculate recipe" button and for the "enter" key on the input fields to trigger the calculation.

The function returns an object with the following properties:

  • dateTime: the date and time when the recipe was calculated
  • flour1Mass: the mass of the first type of flour
  • flour2Mass: the mass of the second type of flour
  • flourTotal: the total mass of flour
  • waterMass: the mass of water
  • saltMass: the mass of salt
  • starterMass: the mass of sourdough starter

The function can be called with the following arguments:

  • finalMass (default 750): the desired final mass of the dough in grams
  • hydration (default 72): the hydration percentage of the dough
  • flour1Percent (default 80): the percentage of the first type of flour in the total flour mass
  • flour2Percent (default 20): the percentage of the second type of flour in the total flour mass
  • saltPercent (default 2.5): the percentage of salt in the total flour mass
  • starterPercent (default 16): the percentage of sourdough starter in the final dough mass

Here's a screenshot of what the user interface looks like: Screenshot of the user interface

About

Simple tool for calculating the recipe for sourdough bread

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published