Molecular Formula Analysis
Analyze a molecular formula to display molecular weight, monoisotopic mass, elemental composition, and percentage contribution for each element
Specs
Version
1.0.0 (updated on 2022-08-12)
Developer
Labii Inc.
Type
Section
Support Configuration
No
Overview
The Molecular Formula Analysis widget analyzes a user-provided molecular formula and displays the calculated composition in a structured table. It uses the chemcalc engine to return the molecular formula, molecular weight, monoisotopic mass, and an elemental breakdown that includes each element, its count, percentage contribution, and molecular part. This widget is useful for chemistry, formulation, and compound registration workflows where users need a quick composition check directly inside a Labii record.
Use Cases
Compound Verification: Confirm that a proposed molecular formula matches the expected elemental composition before recording or sharing a compound.
Analytical Review: Review molecular weight and monoisotopic mass during compound characterization or pre-analysis checks.
Formulation Support: Compare element counts and percentages when evaluating salts, hydrates, or multi-part formulas.
Registration Workflows: Store formula analysis results alongside compound registration records for downstream review.
Educational and Training Records: Help students or new team members understand how a molecular formula maps to elemental composition.
Interface
Read-only View
In read-only mode, the widget displays the analysis result for the saved molecular formula. The top of the section shows summary values for the formula, molecular weight, and monoisotopic mass. Below the summary, the widget lists the elemental composition in a table with the following fields:
Element: The chemical element symbol.
Number: The number of atoms of that element in the formula.
Percentage: The mass percentage contributed by that element.
Part: The molecular part associated with that element when the formula contains multiple parts.
This layout makes it easy to inspect both the overall molecular properties and the per-element contribution without opening any external chemistry software.

Edit View
In edit mode, users enter a molecular formula and run the analysis directly in the widget.
Formula Input: Enter the molecular formula to analyze, such as
C6H12O6.Analysis Action: Click the Analysis button to calculate the result.
Calculated Summary: The widget returns the following summary fields:
Molecular Formula
Molecular Weight
Monoisotopic Mass
Element Table: The widget also generates a table containing:
Element
Number
Percentage
Part
The edit workflow is intentionally simple: provide a valid formula, run the analysis, and save the resulting output as part of the record.
Configuration
The Molecular Formula Analysis widget does not provide any settings or configuration options. It is ready to use immediately after being added to a section.
Because the widget has no configuration, every instance uses the same analysis logic and output structure across all records.
Additional Functions
Analyze a Molecular Formula
Open the record and click Edit on the Molecular Formula Analysis section.
Enter a valid molecular formula in the input field.
Click Analysis to calculate the result.
Review the returned summary values for Molecular Formula, Molecular Weight, and Monoisotopic Mass, then inspect the element table for Element, Number, Percentage, and Part.
Save the record to preserve the analysis result.
Output Fields
The widget displays the following fields for each analysis result:
Formula: Molecular Formula
Weight: Molecular Weight
Mass: Monoisotopic Mass
Element: Element symbol in the composition table
Number: Atom count for each element
Percentage: Relative mass percentage for each element
Part: Molecular part identifier for formulas with multiple parts
Best Practices
Formula Entry
Enter formulas using standard chemical notation so the parser can interpret the composition correctly.
Double-check capitalization for element symbols, since
CoandCOrepresent different chemistry.Use the widget for molecular formulas rather than reaction strings or free-text chemical descriptions.
Result Review
Review both Molecular Weight and Monoisotopic Mass when documenting compounds for analytical workflows, as the two values serve different purposes.
Inspect the Percentage column when comparing related compounds, salts, or hydrates.
Use the Part column to understand formulas that contain multiple molecular components.
Record Quality
Save the analysis result together with the source compound record so future reviewers can trace how the composition was documented.
Re-run the analysis after any formula change instead of manually editing the output values.
Use this widget when you need a fast, repeatable molecular composition check directly inside Labii without switching to a separate chemistry calculator.
Related Widgets
Ketcher: Draw chemical structures and calculate molecular properties from a structure editor.
Last updated