Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the atomic number for a given element
| 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. | 
Find the atomic number for an atomic symbol:
| In[1]:= | ![ResourceFunction["AtomicNumber"]["C"]](https://www.wolframcloud.com/obj/resourcesystem/images/f60/f60ca01a-9ab6-467f-a203-675538214a72/1daacc1466711264.png) | 
| Out[1]= |  | 
Find the atomic number using an element name:
| In[2]:= | ![ResourceFunction["AtomicNumber"]["Iron"]](https://www.wolframcloud.com/obj/resourcesystem/images/f60/f60ca01a-9ab6-467f-a203-675538214a72/439e468e2fd11dba.png) | 
| Out[2]= |  | 
Find the atomic number for an Entity:
| In[3]:= | ![ResourceFunction["AtomicNumber"][Entity["Element", "Sulfur"]]](https://www.wolframcloud.com/obj/resourcesystem/images/f60/f60ca01a-9ab6-467f-a203-675538214a72/6755f1b778f06b7f.png) | 
| Out[3]= |  | 
| In[4]:= | ![ResourceFunction["AtomicNumber"][Entity["Isotope", "Polonium209"]]](https://www.wolframcloud.com/obj/resourcesystem/images/f60/f60ca01a-9ab6-467f-a203-675538214a72/29ce1849d395723f.png) | 
| Out[4]= |  | 
Use a list as an input:
| In[5]:= | ![ResourceFunction["AtomicNumber"][{"C", "Fe"}]](https://www.wolframcloud.com/obj/resourcesystem/images/f60/f60ca01a-9ab6-467f-a203-675538214a72/08fa18fc0e40e751.png) | 
| Out[5]= |  | 
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License