Template:Chem molar mass/format
This template calculates the molecular mass (or molar mass) of a chemical compound. It is designed to be embedded in infoboxes {{Infobox drug}} and {{Chembox}}, but it can be used in-line just as well.
Rounding and uncertainty[edit source]
- (to be documented, 2019-02-09)
Parameters[edit source]
Use chemical symbols to compose the molecular formula:
{{Chem molar mass|H=2|O=1}}
(for H
2O) → g·mol−1
18.015
|round=
|unit=
The next parameters will always show:|fixed=
to enter a fixed (predefined) value+unit. It will overwrite any calculated value+unit.
|ref=<ref>some source</ref>
will add the reference right after the unit.
|comment=Any text
is added as a suffix, after a space and unedited (no brackets added etc.).
Example:
{{Chem molar mass|fixed=234.56 g·mol<sup>−1</sup>|ref=<ref>Some source</ref>|comment=My Comment}}
→ 234.56 g·mol−1[1] My Comment
|sortable=yes
, for use in sortable tables: will add a hidden sortable number, and omits the unit (see table below).
Blank parameter list[edit source]
{{Chem molar mass | round = | unit = | fixed = | ref = | comment = | sortable= }} |
{{Chem molar mass <!-- with 118 chemical symbols: -->|D= |H= |He= |Li= |Be= |B= |C= |N= |O= |F= |Ne= |Na= |Mg= |Al= |Si= |P= |S= |Cl= |Ar= |K= |Ca= |Sc= |Ti= |V= |Cr= |Mn= |Fe= |Co= |Ni= |Cu= |Zn= |Ga= |Ge= |As= |Se= |Br= |Kr= |Rb= |Sr= |Y= |Zr= |Nb= |Mo= |Tc= |Ru= |Rh= |Pd= |Ag= |Cd= |In= |Sn= |Sb= |Te= |I= |Xe= |Cs= |Ba= |La= |Ce= |Pr= |Nd= |Pm= |Sm= |Eu= |Gd= |Tb= |Dy= |Ho= |Er= |Tm= |Yb= |Lu= |Hf= |Ta= |W= |Re= |Os= |Ir= |Pt= |Au= |Hg= |Tl= |Pb= |Bi= |Po= |At= |Rn= |Fr= |Ra= |Ac= |Th= |Pa= |U= |Np= |Pu= |Am= |Cm= |Bk= |Cf= |Es= |Fm= |Md= |No= |Lr= |Rf= |Db= |Sg= |Bh= |Hs= |Mt= |Ds= |Rg= |Cn= |Nh= |Lv= |Mc= |Fl= |Ts= |Og= | round = | unit = | fixed = | ref = | comment = | sortable= }} |
Standard atomic weights used[edit source]
Chem molar mass tests
| |||||||
---|---|---|---|---|---|---|---|
Atomic number | Element | Molar mass | Decimals | Formal standard atomic weight | s.a.w., formal short | Note | |
Z | calculated; g·mol−1 | used in calc rounding | Ar, standard[2] (data) | Ar, abridged and conventional[2] | |||
C 9H 8O 4 |
180.157 g·mol−1 | fixed value from ... | |||||
|charge=+1
|
548579909070 g·mol−1 −0.000 | ||||||
|charge=-1
|
548579909070 g·mol−1 0.000 | ||||||
H+1 | g·mol−1 1.007 | ||||||
1 | hydrogen | H | g·mol−1 1.008 | 3 | [84, 1.00711] 1.008 | 1.008 | atomic mass for H, not molar mass for H2 |
[[]] | D | 55321275 g·mol−1 2.013 | 10 | deutrium, 2H[3] | |||
2 | helium | He | 602 g·mol−1 4.002 | 6 | 602(2) 4.002 | 4.0026 | |
3 | lithium | Li | g·mol−1 6.94 | 2 | [, 6.938] 6.997 | 6.94 | |
4 | beryllium | Be | 1831 g·mol−1 9.012 | 7 | 1831(5) 9.012 | 9.0122 | |
5 | boron | B | g·mol−1 10.81 | 2 | [, 10.806] 10.821 | 10.81 | |
6 | carbon | C | g·mol−1 12.011 | 3 | [, 12.0096] 12.0116 | 12.011 | |
7 | nitrogen | N | g·mol−1 14.007 | 3 | [43, 14.00628] 14.007 | 14.007 | |
8 | oxygen | O | g·mol−1 15.999 | 3 | [03, 15.99977] 15.999 | 15.999 | |
9 | fluorine | F | 403163 g·mol−1 18.998 | 9 | 403163(6) 18.998 | 18.998 | |
10 | neon | Ne | g·mol−1 20.1797 | 4 | 20.1797(6) | 20.180 | |
11 | sodium | Na | 76928 g·mol−1 22.989 | 8 | 76928(2) 22.989 | 22.990 | |
12 | magnesium | Mg | g·mol−1 24.305 | 3 | [, 24.304] 24.307 | 24.305 | |
13 | aluminium | Al | 5384 g·mol−1 26.981 | 7 | 5384(3) 26.981 | 26.982 | |
14 | silicon | Si | g·mol−1 28.085 | 3 | [, 28.084] 28.086 | 28.085 | |
15 | phosphorus | P | 761998 g·mol−1 30.973 | 9 | 761998(5) 30.973 | 30.974 | |
16 | sulfur | S | g·mol−1 32.06 | 2 | [, 32.059] 32.076 | 32.06 | |
17 | chlorine | Cl | g·mol−1 35.45 | 2 | [, 35.446] 35.457 | 35.45 | |
18 | argon | Ar | g·mol−1 39.948 | 2 | [, 39.792] 39.963 | 39.95 | |
19 | potassium | K | g·mol−1 39.0983 | 4 | 39.0983(1) | 39.098 | |
20 | calcium | Ca | g·mol−1 40.078 | 3 | 40.078(4) | 40.078(4) | |
21 | scandium | Sc | 908 g·mol−1 44.955 | 6 | 908(5) 44.955 | 44.956 | |
22 | titanium | Ti | g·mol−1 47.867 | 3 | 47.867(1) | 47.867 | |
23 | vanadium | V | g·mol−1 50.9415 | 4 | 50.9415(1) | 50.942 | |
24 | chromium | Cr | g·mol−1 51.9961 | 4 | 51.9961(6) | 51.996 | |
25 | manganese | Mn | 043 g·mol−1 54.938 | 6 | 043(2) 54.938 | 54.938 | |
26 | iron | Fe | g·mol−1 55.845 | 3 | 55.845(2) | 55.845(2) | |
27 | cobalt | Co | 194 g·mol−1 58.933 | 6 | 194(3) 58.933 | 58.933 | |
28 | nickel | Ni | g·mol−1 58.6934 | 4 | 58.6934(4) | 58.693 | |
29 | copper | Cu | g·mol−1 63.546 | 3 | 63.546(3) | 63.546(3) | |
30 | zinc | Zn | g·mol−1 65.38 | 2 | 65.38(2) | 65.38(2) | |
31 | gallium | Ga | g·mol−1 69.723 | 3 | 69.723(1) | 69.723 | |
32 | germanium | Ge | g·mol−1 72.630 | 3 | 72.630(8) | 72.630(8) | |
33 | arsenic | As | 595 g·mol−1 74.921 | 6 | 595(6) 74.921 | 74.922 | |
34 | selenium | Se | g·mol−1 78.971 | 3 | 78.971(8) | 78.971(8) | |
35 | bromine | Br | g·mol−1 79.904 | 3 | [, 79.901] 79.907 | 79.904 | |
36 | krypton | Kr | g·mol−1 83.798 | 3 | 83.798(2) | 83.798(2) | |
37 | rubidium | Rb | g·mol−1 85.4678 | 4 | 85.4678(3) | 85.468 | |
38 | strontium | Sr | g·mol−1 87.62 | 2 | 87.62(1) | 87.62 | |
39 | yttrium | Y | 84 g·mol−1 88.905 | 5 | 84(1) 88.905 | 88.906 | |
40 | zirconium | Zr | g·mol−1 91.224 | 3 | 91.224(2) | 91.224(2) | |
41 | niobium | Nb | 37 g·mol−1 92.906 | 5 | 37(1) 92.906 | 92.906 | |
42 | molybdenum | Mo | g·mol−1 95.95 | 2 | 95.95(1) | 95.95 | |
43 | technetium | Tc | g·mol−1 98 | 0 | |||
44 | ruthenium | Ru | g·mol−1 101.07 | 2 | 101.07(2) | 101.07(2) | |
45 | rhodium | Rh | 49 g·mol−1 102.905 | 5 | 49(2) 102.905 | 102.91 | |
46 | palladium | Pd | g·mol−1 106.42 | 2 | 106.42(1) | 106.42 | |
47 | silver | Ag | g·mol−1 107.8682 | 4 | 107.8682(2) | 107.87 | |
48 | cadmium | Cd | g·mol−1 112.414 | 3 | 112.414(4) | 112.41 | |
49 | indium | In | g·mol−1 114.818 | 3 | 114.818(1) | 114.82 | |
50 | tin | Sn | g·mol−1 118.710 | 3 | 118.710(7) | 118.71 | |
51 | antimony | Sb | g·mol−1 121.760 | 3 | 121.760(1) | 121.76 | |
52 | tellurium | Te | g·mol−1 127.60 | 2 | 127.60(3) | 127.60(3) | (Does not follow atomic number) |
53 | iodine | I | 47 g·mol−1 126.904 | 5 | 47(3) 126.904 | 126.90 | (Does not follow atomic number) |
54 | xenon | Xe | g·mol−1 131.293 | 3 | 131.293(6) | 131.29 | |
55 | caesium | Cs | 45196 g·mol−1 132.905 | 8 | 45196(6) 132.905 | 132.91 | |
56 | barium | Ba | g·mol−1 137.327 | 3 | 137.327(7) | 137.33 | |
57 | lanthanum | La | 47 g·mol−1 138.905 | 5 | 47(7) 138.905 | 138.91 | |
58 | cerium | Ce | g·mol−1 140.116 | 3 | 140.116(1) | 140.12 | |
59 | praseodymium | Pr | 66 g·mol−1 140.907 | 5 | 66(1) 140.907 | 140.91 | |
60 | neodymium | Nd | g·mol−1 144.242 | 3 | 144.242(3) | 144.24 | |
61 | promethium | Pm | g·mol−1 145 | 0 | |||
62 | samarium | Sm | g·mol−1 150.36 | 2 | 150.36(2) | 150.36(2) | |
63 | europium | Eu | g·mol−1 151.964 | 3 | 151.964(1) | 151.96 | |
64 | gadolinium | Gd | g·mol−1 157.25 | 2 | 157.25(3) | 157.25(3) | |
65 | terbium | Tb | 354 g·mol−1 158.925 | 6 | 354(8) 158.925 | 158.93 | |
66 | dysprosium | Dy | g·mol−1 162.500 | 3 | 162.500(1) | 162.50 | |
67 | holmium | Ho | 328 g·mol−1 164.930 | 6 | 328(7) 164.930 | 164.93 | |
68 | erbium | Er | g·mol−1 167.259 | 3 | 167.259(3) | 167.26 | |
69 | thulium | Tm | 218 g·mol−1 168.934 | 6 | 218(6) 168.934 | 168.93 | |
70 | ytterbium | Yb | g·mol−1 173.045 | 3 | 173.045(10) | 173.05 | |
71 | lutetium | Lu | g·mol−1 174.9668 | 4 | 174.9668(1) | 174.97 | |
72 | hafnium | Hf | g·mol−1 178.49 | 2 | 178.49(2) | 178.49(2) | |
73 | tantalum | Ta | 88 g·mol−1 180.947 | 5 | 88(2) 180.947 | 180.95 | |
74 | tungsten | W | g·mol−1 183.84 | 2 | 183.84(1) | 183.84 | |
75 | rhenium | Re | g·mol−1 186.207 | 3 | 186.207(1) | 186.21 | |
76 | osmium | Os | g·mol−1 190.23 | 2 | 190.23(3) | 190.23(3) | |
77 | iridium | Ir | g·mol−1 192.217 | 3 | 192.217(2) | 192.22 | |
78 | platinum | Pt | g·mol−1 195.084 | 3 | 195.084(9) | 195.08 | |
79 | gold | Au | 570 g·mol−1 196.966 | 6 | 570(4) 196.966 | 196.97 | |
80 | mercury | Hg | g·mol−1 200.592 | 3 | 200.592(3) | 200.59 | |
81 | thallium | Tl | g·mol−1 204.38 | 2 | [, 204.382] 204.385 | 204.38 | |
82 | lead | Pb | g·mol−1 207.2 | 1 | 207.2(1) | 207.2 | |
83 | bismuth | Bi | 40 g·mol−1 208.980 | 5 | 40(1) 208.980 | 208.98 | |
84 | polonium | Po | g·mol−1 209 | 0 | |||
85 | astatine | At | g·mol−1 210 | 0 | |||
86 | radon | Rn | g·mol−1 222 | 0 | |||
87 | francium | Fr | g·mol−1 223 | 0 | |||
88 | radium | Ra | g·mol−1 226 | 0 | |||
89 | actinium | Ac | g·mol−1 227 | 0 | |||
90 | thorium | Th | g·mol−1 232.0377 | 4 | 232.0377(4) | 232.04 | |
91 | protactinium | Pa | 88 g·mol−1 231.035 | 5 | 88(1) 231.035 | 231.04 | |
92 | uranium | U | 91 g·mol−1 238.028 | 5 | 91(3) 238.028 | 238.03 | |
93 | neptunium | Np | g·mol−1 237 | 0 | |||
94 | plutonium | Pu | g·mol−1 244 | 0 | |||
95 | americium | Am | g·mol−1 243 | 0 | |||
96 | curium | Cm | g·mol−1 247 | 0 | |||
97 | berkelium | Bk | g·mol−1 247 | 0 | |||
98 | californium | Cf | g·mol−1 251 | 0 | |||
99 | einsteinium | Es | g·mol−1 252 | 0 | |||
100 | fermium | Fm | g·mol−1 257 | 0 | |||
101 | mendelevium | Md | g·mol−1 258 | 0 | |||
102 | nobelium | No | g·mol−1 259 | 0 | |||
103 | lawrencium | Lr | g·mol−1 266 | 0 | |||
104 | rutherfordium | Rf | g·mol−1 267 | 0 | |||
105 | dubnium | Db | g·mol−1 268 | 0 | |||
106 | seaborgium | Sg | g·mol−1 269 | 0 | |||
107 | bohrium | Bh | g·mol−1 270 | 0 | |||
108 | hassium | Hs | g·mol−1 270 | 0 | |||
109 | meitnerium | Mt | g·mol−1 278 | 0 | |||
110 | darmstadtium | Ds | g·mol−1 281 | 0 | |||
111 | roentgenium | Rg | g·mol−1 282 | 0 | |||
112 | copernicium | Cn | g·mol−1 285 | 0 | |||
113 | nihonium | Nh | g·mol−1 286 | 0 | |||
114 | flerovium | Fl | g·mol−1 289 | 0 | |||
115 | moscovium | Mc | g·mol−1 290 | 0 | |||
116 | livermorium | Lv | g·mol−1 293 | 0 | |||
117 | tennessine | Ts | g·mol−1 294 | 0 | |||
118 | oganesson | Og | g·mol−1 294 | 0 |
References[edit source]
References
- ↑ Some source
- ↑ a b Meija, Juris; et al. (2016). "Atomic weights of the elements 2013 (IUPAC Technical Report)". Pure and Applied Chemistry. 88 (3): 265–91. doi:10.1515/pac-2015-0305 .
- ↑ NIST [1]
Data sources (CIAAW)[edit source]
Primarily, the atomic weights used here are defined by CIAAW [2]:
- "Standard Atomic Weights". Commission on Isotopic Abundances and Atomic Weights (CIAAW). 2015. Retrieved 2015-09-20. (68 elements)
- CIAAW also published additional lists in spreadsheet format (2013). It has additional conventional values for trade usage, and some background information on the numbers and calculations. (12 elements: B, Br, C, Cl, H, Li, Mg, N, O, S, Si, Tl).
- Coplen, T.B.; et al. (2013). "Atomic weights of the elements 2013 (xls)". CIAAW. Retrieved 2015-05-26.
- Some unstable elements can naturally occur, and so are listed (4 elements: Bi, Th, Pa, U)
- Additional values are those of the most stable isotopes, as given in List of chemical elements (34 elements). This source is not supported by the CIAAW publications.
See also: "Atomic weights of the elements 2013 (IUPAC Technical Report)". Pure and Applied Chemistry. February 2016. pp. 265–291. doi:10.1515/pac-2015-0305. eISSN 1365-3075. ISSN 0033-4545. Retrieved 2016-12-29.
- Possolo, Antonio; van der Veen, Adriaan M. H.; Meija, Juris; Hibbert, D. Brynn (2018-01-04). "Interpreting and propagating the uncertainty of the standard atomic weights (IUPAC Technical Report)". doi:10.1515/pac-2016-0402. Retrieved 2018-09-23.
Embedding in a template[edit source]
The template is designed to be embedded in a template like {{Drugbox}}. The molecular formula can be entered like ...|H=2|O=1
, and these values then are passed through to this subtemplate, together with the other parameters like |round=
.
Units[edit source]
|unit=
- 1. When some
|unit=kg/mol
is used, it is added as is, always ("by the editor"). - 2. When
|fixed=
is used, no unit is added to this (could be in it already). - 3. When
|sortable=
is used, no unit is added by the template (expected: put in top of table column). - 4. When value is calculated, unit g/mol is added by template.
- 5. There is automatic no conversion from g to kg.
Uncertainty handling[edit source]
- Uncertainty is ignored.
- Calcium: Ar(Ca) being 40.078(4) is read and calculated as 40.078(0)
- Elements having interval notation are calculated by their conventional value.
- Hydrogen: [84, 1.00711] is calculated using conventional: 1.008(0) 1.008
Calculate cumulative uncertainties[edit source]
- Possolo, Antonio; van der Veen, Adriaan M.H.; Meija, Juris; Brynn Hibbert, D. (2018-01-04). "Interpreting and propagating the uncertainty of the standard atomic weights (IUPAC Technical Report)". Retrieved 2019-02-08.
- [3], [4]
Tracking categories[edit source]
- Category:Articles with erroneous molar mass calculations (0)
- Category:Pages using Chem molar mass with unsupported parameters (0)
TemplateData[edit source]
TemplateData for Chem molar mass
Parameter list (all element symbols, and template options) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No description.
|
See also[edit source]
- {{Chem molar mass/format}} -- subtemplate
- {{Chem molar mass/calc charge}} -- subtemplate
- {{Chem}} (formula)
- {{Atomic mass}}
- {{Molar mass}}
- {{Chem molar mass/sandbox}} -- tests sandbox template too (compare values).
External links[edit source]
- Template:Chem molar mass/format at Wikipedia, the free Terran encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Chem molar mass/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |