Grams to Dollars Calculator

Convert the cost of a substance from grams to dollars based on its price per gram.

Input Parameters

Calculation Results

Calculation Formula

Total Cost = Grams × Price per Gram

Where:
Grams - The amount of substance in grams
Price per Gram - The cost per gram of the substance

Total Cost ($):

Grams to Dollars Calculator Calculator Usage Guide

Learn how to use the Grams to Dollars Calculator calculator and its working principles

How to Use the Calculator

  1. Enter the amount of substance in grams in the "Grams" field.
  2. Enter the price per gram in the "Price per Gram ($)" field.
  3. Click the "Calculate" button to compute the total cost in dollars.
  4. The result will be displayed in the "Total Cost ($)" field.

Example

If you have 10 grams of a substance that costs $5 per gram:

  • Enter 10 in the "Grams" field.
  • Enter 5 in the "Price per Gram ($)" field.
  • The total cost will be $50.

Working Principle

The calculator uses a simple formula to convert grams to dollars:

Total Cost = Grams × Price per Gram

This formula multiplies the amount of substance (in grams) by its price per gram to determine the total cost in dollars.