# Soap Draftbook calculation notes

Local release candidate 0.2.0; 12 selectable oils. New drafts use `official-reference-2026-10-09-v2`. Old drafts use `hscg-2026-10-09-v1` and retain their original values, including shea 188. Import, edits, copies, saved versions, comparison, recovery and backups preserve each draft's reference. Untagged historical drafts mean the old reference. Unsupported references are rejected before writing. No automatic numerical migration occurs.

## Calculation

KOH values below are mg KOH/g oil. NaOH SAP = KOH SAP × (39.997 / 56.106) / 1000. Weighed NaOH product = sum(oil grams × NaOH SAP) × (1 − superfat/100) / (purity/100). Added water follows nominal concentration, water:product ratio or percentage of oil mass. These reference values are not batch assays or a prediction of finished soap quality. Documented purity is needed for actual ingredients.

## New reference values

F = FSSAI, Chapter 2.2, Version 5 (01.08.2025). J = Ministry of Health, Labour and Welfare, Japanese Pharmacopoeia XVIII, effective 2021-06-07. Accessed October 9, 2026. Selected values are our stated transformations or approximate references; official specifications do not prescribe a single calculator default. No endorsement is implied.

| Oil | Selected | Specification | Selection and grade | Source location |
|---|---:|---|---|---|
| Olive Oil | 190 | 184–196 | standard range midpoint; ordinary/virgin/refined olive oil; exclude pomace | [F 2.2.1(8), PDF p9](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Coconut Oil | 256.5 | ≥250 (no upper bound stated) | selected approximate typical value; not a standard midpoint; copra oil and virgin coconut oil separately specified | [F 2.2.1(1)/(1A), PDF p1–2](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Shea Butter | 183 | 160–200 | selected refined whole-butter reference: AAK LIPEX Shea typical 183; not regulatory midpoint; Whole butter, with a refined-product reference. Unrefined and supplier grades vary; not olein/stearin fractions or blends. | [F + AAK FSSAI 2.2.4(12); AAK LIPEX Shea Typical Properties, PDF p42–43](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Castor Oil | 181.5 | 176–187 | standard range midpoint; pressed Ricinus communis seed fixed oil | [J Castor Oil, PDF p38](https://www.mhlw.go.jp/content/11120000/001372350.pdf) |
| Palm Oil | 199.5 | 195–205 | selected approximate typical value; not a standard midpoint; palm mesocarp oil; exclude kernel and fractions | [F 2.2.1(19), PDF p19–20](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Cocoa Butter | 196 | 188–200 | selected approximate typical value; not a standard midpoint; expressed/extracted cocoa fat | [F 2.2.4(5), PDF p37–38](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Sunflower Oil | 191 | 188–194 | standard range midpoint; ordinary sunflower seed/cake oil; solvent-extracted edible oil refined | [F 2.2.1(22), PDF p22–23](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Sunflower Oil · high oleic | 188 | 182–194 | standard range midpoint; high oleic; oleic acid at least 75% of total fatty acids | [F 2.2.1(22.01), PDF p23](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Sweet Almond Oil | 194 | 186–195 | selected approximate typical value; not a standard midpoint; no-heat expressed oil; standard includes sweet and bitter almonds | [F 2.2.1(17), PDF p18](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Avocado Oil | 187.5 | 177–198 | standard range midpoint; Persea americana fruit oil; solvent extraction has refining condition | [F 2.2.1(25), PDF p26–27](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Rice Bran Oil | 185 | 180–195 | selected approximate typical value; not a standard midpoint; refined rice bran oil; chemical/physical refining distinguished | [F 2.2.1(23), PDF p23–24](https://www.fssai.gov.in/upload/uploadfiles/files/Chapter%202_2_Fats_oils%20and%20fat%20emulsions.pdf) |
| Beef Tallow | 195 | 193–200 | selected approximate typical value; not a standard midpoint; purified wet-steam-rendered Bos taurus fat | [J Beef Tallow, PDF p18](https://www.mhlw.go.jp/content/11120000/001372350.pdf) |

Shea 183 is the typical value displayed on [AAK's LIPEX Shea supplier product page](https://www.knowde.com/stores/aak-personal-care/products/aak-personal-care-lipex-shea) for refined, bleached and deodorized whole butter (IUPAC 2.202). It lies inside FSSAI's 160–200 specification and [BioCare NV's refined shea specification of 170–185](https://www.biocarenv.com/wp-content/uploads/2020/07/SheaButter_Biocare-NV.pdf), PDF p2. BioCare's range is a cross-check, not a typical-value estimate. The underlying AAK TDS PDF was unavailable; no TDS revision date is claimed. Refined and unrefined batches vary. The old 188 has not been disproved.

The legacy 12-oil values and ranges derive from the historical HSCG reference retained for compatibility; they are not reassigned to the new official documents. No third-party source table, marketing text, images or PDF is distributed in this package.

## Attribution and reuse

[FSSAI website policy](https://www.fssai.gov.in/website-policies) permits accurate reuse with prominent attribution and exceptions for third-party works. Its introductory wording remains “proposed.” [MHLW policy](https://www.mhlw.go.jp/chosakuken/index.html) and [Public Data License 1.0](https://www.digital.go.jp/resources/open_data/public_data_license_v1.0) require attribution and identification of changes with third-party exceptions. We transcribe limited scalar facts and add our own calculation and explanations. These policy findings do not certify chemical suitability or resolve every possible jurisdiction's rights questions.

## Backups and browser versions

The library schema and browser storage keys remain unchanged. Each nested draft carries its own reference. A current library may contain both references. Older clients cannot read current-reference libraries or backups and are prevented from overwriting them. Keep a complete backup before replacing a client. Rollback must preserve version-tagged data; it is not safe to strip tags or assign old values to new recipes.

Inputs and results remain local to the browser. Calculator and Recipes are separate routes. No account, cloud sync, paid plan or analytics is added. Tool pages remain noindex.
