What share of the blend each part is

Perfumery

It keeps integer parts for a fictional accord, adds an optional carrier, and reports each share as a reduced ratio. It does not estimate how many odors a person can discriminate. The public name of the perfumery business is not shown.

Bars for the default parts: A is 2, B is 1, and C is 1. A B C
The default parts, drawn to scale: two of A, one of B, and one of C, so A is half of the accord.

Materials are letters in order, not named goods. Two to four parts, each an integer from 0 to 200, with at least one positive part. Carrier parts run from 0 to 500. A zero carrier leaves the accord undiluted.

The result appears here when the page script runs.

How it is computed

Method

Let the material parts be integers with sum T, and the carrier parts be C. The whole is T plus C. The share of material j inside the accord is the reduced ratio of its part over T. Its share of the whole is that part over T plus C. The accord's share of the whole is T over T plus C. The carrier's share is C over T plus C. Those whole shares, carrier included, sum to one.

Assumptions

A part is a mass in unnamed units, not a drop of unknown density. Mixing is ideal and nothing evaporates. Order of materials is the order typed. A letter is not a material from a catalog. The carrier is one more integer, not a solvent with a safety limit.

Limits

The page does not estimate a count of discriminable odors, and it is not a safety assessment. The public name of the perfumery business is not shown. The bounds are 2 to 4 materials, parts 0 to 200, and carrier parts 0 to 500.

Reproducibility

The inputs are kept in the address bar, so the same link reruns the same calculation. The same integers produce the same reduced ratios in this engine.