Skip to main content

A script to calculate the molecular mass of a chemical compound in g/mol with its chemical formula

Project description


A python script to find the molecular mass in g/mol of a chemical equation


$ calcmass C6H12O6
$ calcmass Cr2O7
$ calcmass C11H22
$ calcmass Al2Si2O5[OH]4


You can download using PyPi

Using pip:

$ pip install --user calcmass

For system wide download(Not Suggested):

$ sudo pip install calcmass

Or download the zip file at

Then run:

$ python install

If the calcmass command is not found add this to your .bashrc or .bash_profile


export PATH=$PATH:$HOME/Library/Python/2.7/bin


export PATH=$PATH:$HOME/.local/bin


Mass is licensed under the MIT License - see the LICENSE file for details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for calcmass, version 2.0
Filename, size File type Python version Upload date Hashes
Filename, size calcmass-2.0-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size calcmass-2.0.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page