• RATIOS
  • FORMULA
  • STRUCTURE
  • REVIEW

How to convert mass percentages to formulas with your agent

Connect the Molecular Formula Determination Engine to your AI client. Once connected, you can feed it raw mass data to get chemical formulas.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I turn mass percentages into chemical formulas?

Give your agent the elemental mass percentages of a substance. It calculates the molar ratios to provide either the empirical or molecular formula. You'll get the exact chemical structure based on the composition you provide.

The results you get

Chemical formula outputs

Your agent processes your input into these specific chemical results.

RATIOS

Molar ratios

Your agent determines the relative number of moles for each element. This provides the foundation for any chemical formula.

FORMULA

Empirical formulas

Get the simplest whole-number ratio of atoms in a compound. This is the first step in identifying unknown substances.

STRUCTURE

Molecular formulas

If you provide a molar mass, your agent scales the empirical formula to find the actual molecular formula.

REVIEW

Human verification

You must check the final formulas against your experimental data. Your agent handles the math, but you confirm the chemical validity.

The workflow

What your agent does when the data arrives.

Your agent follows a mathematical sequence to move from percentages to structures.

  1. Convert mass to moles

    Your agent takes your percentage values and converts them into molar amounts for each element present.

    derive_from_composition
  2. Find simplest ratio

    It identifies the smallest whole-number ratio between the elements to establish the base formula.

    find_empirical_formula
  3. Scale to molar mass

    When you provide a molar mass, your agent calculates the multiplier needed to find the true formula.

    calculate_molecular_formula
  4. Validate results

    Your agent checks the math to ensure the resulting formula matches the input composition.

    derive_from_compositionfind_empirical_formula

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Molecular Formula Determination tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to kick off the calculation process.

Starting points

Replace the bracketed text with your actual lab data or specific element names.

Molecular Formula Determination Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_aA3mm9H0Sp5ywB9v5J2W0lSaDYiykgb4IP8O4Tvl/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Molecular Formula Determination capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "molecular-formula-determination-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_aA3mm9H0Sp5ywB9v5J2W0lSaDYiykgb4IP8O4Tvl/mcp"
    }
  }
}
Copy into chat04
  • 01

    Find the empirical formula for a compound that is 40% Carbon, 6.7% Hydrogen, and 53.3% Oxygen.

  • 02

    Calculate the molecular formula if the empirical formula is CH2O and the molar mass is 180.16 g/mol.

  • 03

    Use the composition data in my lab_results.csv to derive the empirical formula for each sample.

  • 04

    Convert these mass percentages to a molecular formula: 25.9% Copper, 74.1% Oxygen, with a molar mass of 80 g/mol.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Molecular Formula Determination Engine once, then ask.

Click the link to connect the MCP to your client. Once it's active, you can start pasting mass data directly into your chat.

Connect Molecular Formula Determination Engine to your agent

FAQ

How this task behaves

  • 01

    Can your agent find the molecular formula without the molar mass?

    No. Your agent can find the empirical formula from mass percentages, but it needs the molar mass to calculate the specific molecular formula.

  • 02

    Does your agent perform the actual lab experiments?

    No. Your agent only processes the numerical data you provide from your experiments.

  • 03

    Can I upload a CSV of mass percentages?

    Yes. You can point your agent to a file containing your composition data, and it will process the values.

  • 04

    Will your agent change my original data files?

    No. Your agent only reads the data to perform calculations; it does not modify your source files.

  • 05

    Can it handle isotopes?

    No. The tools are designed for standard elemental mass percentages and molar mass calculations.

  • More questions about Molecular Formula Determination Engine? The Connector page answers them. See everything the Molecular Formula Determination Engine Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Molecular Formula Determination to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Molecular Formula Determination plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Molecular Formula Determination to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.