Wolfram Research

Function Repository Resource:

AtomicNumber

Source Notebook

Find the atomic number for a given element

Contributed by: Wolfram Chemistry Team

ResourceFunction["AtomicNumber"][element]

returns the atomic number corresponding to the given element.

ResourceFunction["AtomicNumber"][{element1,element2,}]

returns a list of atomic numbers for the given elements.

Details and Options

element can be an atomic symbol, an element common name, or an "Element" or "Isotope" entity.

Examples

Basic Examples

Find the atomic number for an atomic symbol:

In[1]:=
ResourceFunction["AtomicNumber"]["C"]
Out[1]=

Find the atomic number using an element name:

In[2]:=
ResourceFunction["AtomicNumber"]["Iron"]
Out[2]=

Find the atomic number for an Entity:

In[3]:=
ResourceFunction["AtomicNumber"][Entity["Element", "Sulfur"]]
Out[3]=
In[4]:=
ResourceFunction["AtomicNumber"][Entity["Isotope", "Polonium209"]]
Out[4]=

Use a list as an input:

In[5]:=
ResourceFunction["AtomicNumber"][{"C", "Fe"}]
Out[5]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

License Information