Formula
In science, a formula is a concise way of expressing information symbolically as in a mathematical or chemical formula. The informal use of the term formula in science refers to the general construct of a relationship between given quantities. The plural of formula can be spelled either as formulas or formulae (from the original Latin).^{[1]}
In mathematics, a formula is an entity constructed using the symbols and formation rules of a given logical language.^{[2]} For example, determining the volume of a sphere requires a significant amount of integral calculus or its geometrical analogue, the method of exhaustion;^{[3]} but, having done this once in terms of some parameter (the radius for example), mathematicians have produced a formula to describe the volume: This particular formula is:
Having obtained this result, and knowing the radius of any sphere in question, we can quickly and easily determine its volume. Note that the volume V and the radius r are expressed as single letters instead of words or phrases. This convention, while less important in a relatively simple formula, means that mathematicians can more quickly manipulate larger and more complex formulas.^{[4]} Mathematical formulas are often algebraic, closed form, and/or analytical.
In modern chemistry, a chemical formula is a way of expressing information about the proportions of atoms that constitute a particular chemical compound, using a single line of chemical element symbols, numbers, and sometimes other symbols, such as parentheses, brackets, and plus (+) and minus (−) signs.^{[5]} For example, H_{2}O is the chemical formula for water, specifying that each molecule consists of two hydrogen (H) atoms and one oxygen (O) atom. Similarly, O−
3 denotes an ozone molecule consisting of three oxygen atoms and having a net negative charge.
In a general context, formulas are applied to provide a mathematical solution for real world problems. Some may be general: F = ma, which is one expression of Newton's second law, is applicable to a wide range of physical situations. Other formulas may be specially created to solve a particular problem; for example, using the equation of a sine curve to model the movement of the tides in a bay. In all cases, however, formulas form the basis for calculations.
Expressions are distinct from formulas in that they cannot contain an equals sign (=).^{[6]} Whereas formulas are comparable to sentences, expressions are more like phrases.
Contents
 Chemical formulas 1
 In computing 2

Formulae with prescribed units 3
 In science 3.1
 See also 4
 References 5
 External links 6
Chemical formulas
A chemical formula identifies each constituent element by its chemical symbol and indicates the proportionate number of atoms of each element. In empirical formulas, these proportions begin with a key element and then assign numbers of atoms of the other elements in the compound, as ratios to the key element. For molecular compounds, these ratio numbers can all be expressed as whole numbers. For example, the empirical formula of ethanol may be written C_{2}H_{6}O because the molecules of ethanol all contain two carbon atoms, six hydrogen atoms, and one oxygen atom. Some types of ionic compounds, however, cannot be written with entirely wholenumber empirical formulas. An example is boron carbide, whose formula of CB_{n} is a variable nonwhole number ratio with n ranging from over 4 to more than 6.5.
When the chemical compound of the formula consists of simple molecules, chemical formulas often employ ways to suggest the structure of the molecule. These types of formulas are variously known as molecular formulas and condensed formulas. A molecular formula enumerates the number of atoms to reflect those in the molecule, so that the molecular formula for glucose is C_{6}H_{12}O_{6} rather than the glucose empirical formula, which is CH_{2}O. Except for very simple substances, molecular chemical formulas lack needed structural information, and are ambiguous.
In computing
In computing, a formula typically describes a calculation, such as addition, to be performed on one or more variables. A formula is often implicitly provided in the form of a computer instruction such as.
 Degrees Celsius = (5/9)*(Degrees Fahrenheit  32)
In computer spreadsheet software, a formula indicating how to compute the value of a cell, say A3, is written such as
 =A1+A2
where A1 and A2 refer to other cells (column A, row 1 or 2) within the spreadsheet. This is a shortcut for the "paper" form A3 = A1+A2 where A3 is, by convention, omitted because the result is always stored in the cell itself and stating its name would be redundant.
Formulae with prescribed units
A physical quantity can be expressed as the product of a number and a physical unit. A formula expresses a relationship between physical quantities. A necessary condition for a formula to be valid is that all terms have the same dimension, meaning every term in the formula could be potentially converted to contain the identical unit (or product of identical units).^{[7]}
In the example above, for the volume of a sphere, we may wish to compute with r = 2.0 cm, which yields
 V = \frac{4}{3}\pi(2.0 \mbox{ cm})^3 \approx 33.51 \mbox{ cm}^{3}.^{[8]}
There is vast educational training about retaining units in computations, and converting units to a desirable form, such as in units conversion by factorlabel.
The vast majority of computations with measurements are done in computer programs with no facility for retaining a symbolic computation of the units. Only the numerical quantity is used in the computation. This requires that the universal formula be converted to a formula that is intended to be used only with prescribed units, meaning the numerical quantity is implicitly assumed to be multiplying a particular unit. The requirements about the prescribed units must be given to users of the input and the output of the formula.
For example, suppose the formula is to require that V \equiv \mathrm{VOL}~\bold{tbsp}, where tbsp is the U.S. tablespoon (as seen in conversion of units) and VOL is the name for the number used by the computer. Similarly, the formula is to require r \equiv \mathrm{RAD}~\bold{cm}. The derivation of the formula proceeds as:
 \mathrm{VOL}~\bold{tbsp} = \frac{4}{3} \pi \mathrm{RAD}^3~ \bold{cm}^3.
Given that 1~\bold{tbsp} = 14.787~\bold{cm}^3 , the formula with prescribed units is
 \mathrm{VOL} \approx 0.2833~\mathrm{RAD}^3.^{[9]}
The formula is not complete without words such as: "VOL is volume in tbsp and RAD is radius in cm". Other possible words are "VOL is the ratio of V to tbsp and RAD is the ratio of r to cm."
The formula with prescribed units could also appear with simple symbols, perhaps even the identical symbols as in the original dimensional formula:
 V = 0.2833~r^3.
and the accompanying words could be: "where V is volume (tbsp) and r is radius (cm)".
If the physical formula is not dimensionally homogeneous, and therefore erroneous, the falsehood becomes apparent in the impossibility to derive a formula with prescribed units. It would not be possible to derive a formula consisting only of numbers and dimensionless ratios.
In science
Formulae used in science almost always require a choice of units.^{[10]} Formulae are used to express relationships between various quantities, such as temperature, mass, or charge in physics; supply, profit, or demand in economics; or a wide range of other quantities in other disciplines.
An example of a formula used in science is Boltzmann's entropy formula. In statistical thermodynamics, it is a probability equation relating the entropy S of an ideal gas to the quantity W, which is the number of microstates corresponding to a given macrostate:
 S = k \cdot \log W \! (1) S= k ln W
where k is Boltzmann's constant equal to 1.38062 x 10^{−23} joule/kelvin and W is the number of microstates consistent with the given macrostate.
See also
 Formula editor
 Formula (mathematical logic)
 Formula unit
 Formulae of shapes
 Mathematical notation
 Symbol (chemical element)
References
 ^ Oxford Dictionaries: formula.
 ^
 ^ Smith, David E (1958). History of Mathematics. New York: Dover Publications.
 ^ "Why do mathematicians use single letter variables?". math.stackexchange.com. 28 February 2011. Retrieved 31 December 2013.
 ^ Atkins, P.W., Overton, T., Rourke, J., Weller, M. and Armstrong, F. Shriver and Atkins inorganic chemistry (4th edition) 2006 (Oxford University Press) ISBN 0199264635
 ^ Hamilton, A.G. (1988), Logic for Mathematicians (2nd ed.), Cambridge: Cambridge University Press,
 ^ Lindeburg, Michael R. (1998). Engineering Unit Conversions, Fourth Edition. Professional Publications.
 ^ To derive V ~= 33.51 cm^{3} (2.045 cu in), then calculate the formula for volume: 4/3 × 3.1415926535897 × 2.0^{3} or ~= 33.51032163829 and round to 2 decimal digits.
 ^ To derive VOL ~= 0.2833 RAD^{3}, the tbsp is divided out as: 4/3 × 3.1415926535897 / 14.787 ~= 0.2832751879885 and rounded to 4 decimal digits.
 ^ Haynes, William M., ed. (2013) [1914]. CRC Handbook of Chemistry and Physics, 94th Edition. Boca Raton: CRC Press.
External links
 fxSolver: Online formula database and graphing calculator for mathematics,natural science and engineering.
 vCalc: A webpage with a usermodifiable equation and formula library.