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.

Use chemical symbols to compose the molecular formula: {{Chem molar mass|H=2|O=1}} (for H
2
O
) → 18.02 g·mol−1

|round= by default the calculated number is rounded to 2 decimals.

|round=no will show all decimals:
{{Chem molar mass|Be=1|round=no}} → 9.0121831 g·mol−1
|round=a number will round to that number of decimals
{{Chem molar mass|Be=1|round=4}} → 9.0122 g·mol−1

|unit= changes the unit for the calculated result. The default unit is g·mol−1.

{{Chem molar mass|H=2|O=1|unit=gram per mole}} → 18.02 gram per mole


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 textis 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).

{{Chem molar mass
| round   =
| unit    =
| fixed   =
| ref     =
| comment =
| sortable=
| catname =
}}
{{Chem molar mass
<!-- with 118 chemical symbols: -->|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=
| catname =
}}

Standard atomic weights used

সম্পাদনা কৰক
Atomic number
Z
Element Molar mass
g·mol−1
Formal standard atomic weight (Ar, standard)[2] s.a.w., formal short
(Ar, abridged and conventional)[2]
Note
 
C
9
H
8
O
4
সাঁচ:Ntsh180.157 calculated from formula
C
9
H
8
O
4
সাঁচ:Ntsh180.157 g·mol−1 calculated from formula
C
9
H
8
O
4
সাঁচ:Ntsh180.159 aspirin
1 H সাঁচ:Ntsh1.008 [1.007841.00811] সাঁচ:Infobox element/symbol-to-saw/formalshort
2 He সাঁচ:Ntsh4.002602 4.002602(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
3 Li সাঁচ:Ntsh6.94 [6.9386.997] সাঁচ:Infobox element/symbol-to-saw/formalshort
4 Be সাঁচ:Ntsh9.0121831 9.0121831(5) সাঁচ:Infobox element/symbol-to-saw/formalshort
5 B সাঁচ:Ntsh10.81 [10.80610.821] সাঁচ:Infobox element/symbol-to-saw/formalshort
6 C সাঁচ:Ntsh12.011 [12.009612.0116] সাঁচ:Infobox element/symbol-to-saw/formalshort
7 N সাঁচ:Ntsh14.007 [14.0064314.00728] সাঁচ:Infobox element/symbol-to-saw/formalshort
8 O সাঁচ:Ntsh15.999 [15.9990315.99977] সাঁচ:Infobox element/symbol-to-saw/formalshort
9 F সাঁচ:Ntsh18.998403163 18.998403163(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
10 Ne সাঁচ:Ntsh20.1797 20.1797(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
11 Na সাঁচ:Ntsh22.98976928 22.98976928(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
12 Mg সাঁচ:Ntsh24.305 [24.30424.307] সাঁচ:Infobox element/symbol-to-saw/formalshort
13 Al সাঁচ:Ntsh26.9815385 26.9815384(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
14 Si সাঁচ:Ntsh28.085 [28.08428.086] সাঁচ:Infobox element/symbol-to-saw/formalshort
15 P সাঁচ:Ntsh30.973761998 30.973761998(5) সাঁচ:Infobox element/symbol-to-saw/formalshort
16 S সাঁচ:Ntsh32.06 [32.05932.076] সাঁচ:Infobox element/symbol-to-saw/formalshort
17 Cl সাঁচ:Ntsh35.45 [35.44635.457] সাঁচ:Infobox element/symbol-to-saw/formalshort
18 Ar সাঁচ:Ntsh39.948 [39.79239.963] সাঁচ:Infobox element/symbol-to-saw/formalshort
19 K সাঁচ:Ntsh39.0983 39.0983(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
20 Ca সাঁচ:Ntsh40.078 40.078(4) সাঁচ:Infobox element/symbol-to-saw/formalshort
21 Sc সাঁচ:Ntsh44.955908 44.955908(5) সাঁচ:Infobox element/symbol-to-saw/formalshort
22 Ti সাঁচ:Ntsh47.867 47.867(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
23 V সাঁচ:Ntsh50.9415 50.9415(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
24 Cr সাঁচ:Ntsh51.9961 51.9961(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
25 Mn সাঁচ:Ntsh54.938044 54.938043(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
26 Fe সাঁচ:Ntsh55.845 55.845(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
27 Co সাঁচ:Ntsh58.933194 58.933194(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
28 Ni সাঁচ:Ntsh58.6934 58.6934(4) সাঁচ:Infobox element/symbol-to-saw/formalshort
29 Cu সাঁচ:Ntsh63.546 63.546(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
30 Zn সাঁচ:Ntsh65.38 65.38(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
31 Ga সাঁচ:Ntsh69.723 69.723(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
32 Ge সাঁচ:Ntsh72.63 72.630(8) সাঁচ:Infobox element/symbol-to-saw/formalshort
33 As সাঁচ:Ntsh74.921595 74.921595(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
34 Se সাঁচ:Ntsh78.971 78.971(8) সাঁচ:Infobox element/symbol-to-saw/formalshort
35 Br সাঁচ:Ntsh79.904 [79.90179.907] সাঁচ:Infobox element/symbol-to-saw/formalshort
36 Kr সাঁচ:Ntsh83.798 83.798(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
37 Rb সাঁচ:Ntsh85.4678 85.4678(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
38 Sr সাঁচ:Ntsh87.62 87.62(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
39 Y সাঁচ:Ntsh88.90584 88.90584(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
40 Zr সাঁচ:Ntsh91.224 91.224(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
41 Nb সাঁচ:Ntsh92.90637 92.90637(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
42 Mo সাঁচ:Ntsh95.95 95.95(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
43 Tc সাঁচ:Ntsh98 সাঁচ:Infobox element/symbol-to-saw/formalshort
44 Ru সাঁচ:Ntsh101.07 101.07(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
45 Rh সাঁচ:Ntsh102.9055 102.90549(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
46 Pd সাঁচ:Ntsh106.42 106.42(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
47 Ag সাঁচ:Ntsh107.8682 107.8682(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
48 Cd সাঁচ:Ntsh112.414 112.414(4) সাঁচ:Infobox element/symbol-to-saw/formalshort
49 In সাঁচ:Ntsh114.818 114.818(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
50 Sn সাঁচ:Ntsh118.71 118.710(7) সাঁচ:Infobox element/symbol-to-saw/formalshort
51 Sb সাঁচ:Ntsh121.76 121.760(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
52 Te সাঁচ:Ntsh127.6 127.60(3) সাঁচ:Infobox element/symbol-to-saw/formalshort (Does not follow atomic number)
53 I সাঁচ:Ntsh126.90447 126.90447(3) সাঁচ:Infobox element/symbol-to-saw/formalshort (Does not follow atomic number)
54 Xe সাঁচ:Ntsh131.293 131.293(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
55 Cs সাঁচ:Ntsh132.90545196 132.90545196(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
56 Ba সাঁচ:Ntsh137.327 137.327(7) সাঁচ:Infobox element/symbol-to-saw/formalshort
57 La সাঁচ:Ntsh138.90547 138.90547(7) সাঁচ:Infobox element/symbol-to-saw/formalshort
58 Ce সাঁচ:Ntsh140.116 140.116(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
59 Pr সাঁচ:Ntsh140.90766 140.90766(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
60 Nd সাঁচ:Ntsh144.242 144.242(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
61 Pm সাঁচ:Ntsh145 সাঁচ:Infobox element/symbol-to-saw/formalshort
62 Sm সাঁচ:Ntsh150.36 150.36(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
63 Eu সাঁচ:Ntsh151.964 151.964(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
64 Gd সাঁচ:Ntsh157.25 157.25(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
65 Tb সাঁচ:Ntsh158.92535 158.925354(8) সাঁচ:Infobox element/symbol-to-saw/formalshort
66 Dy সাঁচ:Ntsh162.5 162.500(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
67 Ho সাঁচ:Ntsh164.93033 164.930328(7) সাঁচ:Infobox element/symbol-to-saw/formalshort
68 Er সাঁচ:Ntsh167.259 167.259(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
69 Tm সাঁচ:Ntsh168.93422 168.934218(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
70 Yb সাঁচ:Ntsh173.045 173.045(10) সাঁচ:Infobox element/symbol-to-saw/formalshort
71 Lu সাঁচ:Ntsh174.9668 174.9668(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
72 Hf সাঁচ:Ntsh178.49 178.486(6) সাঁচ:Infobox element/symbol-to-saw/formalshort
73 Ta সাঁচ:Ntsh180.94788 180.94788(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
74 W সাঁচ:Ntsh183.84 183.84(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
75 Re সাঁচ:Ntsh186.207 186.207(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
76 Os সাঁচ:Ntsh190.23 190.23(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
77 Ir সাঁচ:Ntsh192.217 192.217(2) সাঁচ:Infobox element/symbol-to-saw/formalshort
78 Pt সাঁচ:Ntsh195.084 195.084(9) সাঁচ:Infobox element/symbol-to-saw/formalshort
79 Au সাঁচ:Ntsh196.966569 196.966570(4) সাঁচ:Infobox element/symbol-to-saw/formalshort
80 Hg সাঁচ:Ntsh200.592 200.592(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
81 Tl সাঁচ:Ntsh204.38 [204.382204.385] সাঁচ:Infobox element/symbol-to-saw/formalshort
82 Pb সাঁচ:Ntsh207.2 207.2(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
83 Bi সাঁচ:Ntsh208.9804 208.98040(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
84 Po সাঁচ:Ntsh209 সাঁচ:Infobox element/symbol-to-saw/formalshort
85 At সাঁচ:Ntsh210 সাঁচ:Infobox element/symbol-to-saw/formalshort
86 Rn সাঁচ:Ntsh222 সাঁচ:Infobox element/symbol-to-saw/formalshort
87 Fr সাঁচ:Ntsh223 সাঁচ:Infobox element/symbol-to-saw/formalshort
88 Ra সাঁচ:Ntsh226 সাঁচ:Infobox element/symbol-to-saw/formalshort
89 Ac সাঁচ:Ntsh227 সাঁচ:Infobox element/symbol-to-saw/formalshort
90 Th সাঁচ:Ntsh232.0377 232.0377(4) সাঁচ:Infobox element/symbol-to-saw/formalshort
91 Pa সাঁচ:Ntsh231.03588 231.03588(1) সাঁচ:Infobox element/symbol-to-saw/formalshort
92 U সাঁচ:Ntsh238.02891 238.02891(3) সাঁচ:Infobox element/symbol-to-saw/formalshort
93 Np সাঁচ:Ntsh237 সাঁচ:Infobox element/symbol-to-saw/formalshort
94 Pu সাঁচ:Ntsh244 সাঁচ:Infobox element/symbol-to-saw/formalshort
95 Am সাঁচ:Ntsh243 সাঁচ:Infobox element/symbol-to-saw/formalshort
96 Cm সাঁচ:Ntsh247 সাঁচ:Infobox element/symbol-to-saw/formalshort
97 Bk সাঁচ:Ntsh247 সাঁচ:Infobox element/symbol-to-saw/formalshort
98 Cf সাঁচ:Ntsh251 সাঁচ:Infobox element/symbol-to-saw/formalshort
99 Es সাঁচ:Ntsh252 সাঁচ:Infobox element/symbol-to-saw/formalshort
100 Fm সাঁচ:Ntsh257 সাঁচ:Infobox element/symbol-to-saw/formalshort
101 Md সাঁচ:Ntsh258 সাঁচ:Infobox element/symbol-to-saw/formalshort
102 No সাঁচ:Ntsh259 সাঁচ:Infobox element/symbol-to-saw/formalshort
103 Lr সাঁচ:Ntsh266 সাঁচ:Infobox element/symbol-to-saw/formalshort
104 Rf সাঁচ:Ntsh267 সাঁচ:Infobox element/symbol-to-saw/formalshort
105 Db সাঁচ:Ntsh268 সাঁচ:Infobox element/symbol-to-saw/formalshort
106 Sg সাঁচ:Ntsh269 সাঁচ:Infobox element/symbol-to-saw/formalshort
107 Bh সাঁচ:Ntsh270 সাঁচ:Infobox element/symbol-to-saw/formalshort
108 Hs সাঁচ:Ntsh269 সাঁচ:Infobox element/symbol-to-saw/formalshort
109 Mt সাঁচ:Ntsh278 সাঁচ:Infobox element/symbol-to-saw/formalshort
110 Ds সাঁচ:Ntsh281 সাঁচ:Infobox element/symbol-to-saw/formalshort
111 Rg সাঁচ:Ntsh281 সাঁচ:Infobox element/symbol-to-saw/formalshort
112 Cn সাঁচ:Ntsh285 সাঁচ:Infobox element/symbol-to-saw/formalshort
113 Nh সাঁচ:Ntsh286 সাঁচ:Infobox element/symbol-to-saw/formalshort
114 Fl সাঁচ:Ntsh289 সাঁচ:Infobox element/symbol-to-saw/formalshort
115 Mc সাঁচ:Ntsh289 সাঁচ:Infobox element/symbol-to-saw/formalshort
116 Lv সাঁচ:Ntsh293 সাঁচ:Infobox element/symbol-to-saw/formalshort
117 Ts সাঁচ:Ntsh294 সাঁচ:Infobox element/symbol-to-saw/formalshort
118 Og সাঁচ:Ntsh294 সাঁচ:Infobox element/symbol-to-saw/formalshort

Primarily, the atomic weights used here are defined by CIAAW [1]:

Coplen, T.B.; Brand, W.A. (2013). "Atomic weights of the elements 2013 (xls)". CIAAW. http://www.ciaaw.org/publications.htm। আহৰণ কৰা হৈছে: 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)". February 2016. doi:10.1515/pac-2015-0305. ISSN 0033-4545. https://www.degruyter.com/view/j/pac.2016.88.issue-3/pac-2015-0305/pac-2015-0305.xml। আহৰণ কৰা হৈছে: 2016-12-29. 

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=.

For this usage one extra parameter is available:
|catname=. A category name entered here, which will be used as maintenance category for articles that have both calculated and fixed input. These are two inputs for one data value. The maintenance task is to remove the |fixed= input (unless overwriting is intentional).

Atomic weights are given with a precision and uncertainty, for example: 20.1797(6) for neon (more here).

Uncertainty

This template does not maintain the uncertainty (the bracketed part). When done correctly, the uncertainty could influence the result, especially when precision (number of decimals) is larger.

Rounding

This template usually does rounding on the calculated result, to 2 decimals by default:

For neon: {{Chem molar mass|Ne=1}} → 20.18 g·mol−1

Two decimals is common practice for trade and most laboratory situations. However, rounding is set to more decimals, and the compounnd has atoms with less precision, the resulting number will be inaccurate (suggesting a wrong precision). For example strontium :

{{Chem molar mass|Sr=1|round=4}} → 87.62০০ g·mol−1

Six elements have values ending with a final decimal being "0" (a zero), like Sn: 118.710. This value does not show for technical reasons (the calculation 'rounds them away'), but it does signify an extra precision. The six elements are Sn, Rh, Ge, Sb, Dy, Bi.

Calculate cumulative uncertainties

সম্পাদনা কৰক
  1. Some source
  2. 2.0 2.1 Meija, Juris; Coplen, Tyler B.; Berglund, Michael; Brand, Willi A.; De Bièvre, Paul; Gröning, Manfred; Holden, Norman E.; Irrgeher, Johanna 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.