# Price per gram calculator

## Price per gram definition

**The price per gram is the price per every gram of weight, given in dollars.**

## Price per gram formula

**How to calculate price per gram?**First, you need to check the total price per unit you bought. Second, you need to check the total weight per unit of this product. Then you have to divide the total price per unit by the total weight per unit. The result is price per gram.

Price per gram = Total price per unit / Total weight per unit

Where,

**Price per gram**is the price per one gram given in dollars,**Total price per unit**is the price you paid for the whole item,**Total weight per unit**is the weight of the whole item you bought.

## Price per gram examples

Let’s calculate cost per gram in practice now. Here is an example for you, you will learn how to make it step by step.

For instance, you bought 500 grams of dairy butter for 3.16$. You want to know the price per gram of this butter. So you need to divide the total price per unit by the total weight per unit, as we mentioned before.

Solution:

Divide the total price per unit by the total weight per unit to get the price per gram. The formula is down below:

Price per gram = Total price per unit / Total weight per unit

And now put the data into a formula, it will look like this:

Price per gram = 3.16 / 500

Now just calculate it in your mind or use a calculator to make it simpler. Then you will get the result, that is the price per gram.

0.00632 = 3.16 / 500

As you know, prices are always rounded off to two decimal places. So that’s what you need to do now.

0.01 ≈ 0.00632 = 3.16 / 500

So if 500 grams of dairy butter cost 3.16$, how much does it cost per one gram? The cost per gram is 0.01$.

## Price per gram examples in Excel

You can calculate price per gram quicker and easier with an Excel formula. Check it right here and use an Excel as a price per gram calculator. See how it looks.

For example, you bought 300 grams of natural brown sugar for 6.79$.

Your problem is that you don’t know the price per gram.

Your solution is a price per gram Excel formula, see it below.

Price per gram = Total price per unit / Total weight per unit

So, now put the data into the formula. The total price per unit is 6.79$ and the total weight per unit is 300 grams.

Price per gram = 6.79 / 300

Click ‘enter’ to divide these numbers. Then you will see the result, that is the price per gram.

0.022633 = 6.79 / 300

And now round the result off, to see the final price per gram. Use “ROUNDUP” or “ROUNDDOWN” functions in Excel to make it.

0.02 ≈ 0.022633 = 6.79 / 300

After putting the formula into Excel and using it as a cost per gram calculator, you simply get the result – the cost per gram is 0.02$.

## Price per gram explanation

To calculate the price per gram, you need to follow the steps down below only:

Step 1: First, know the total cost per unit. It is the price which you paid for the whole package of the product.

Step 2: Second, know the total weight per unit. It is the weight of the whole package of this product.

Step 3: Finally, calculate the price per gram. Simply divide the total price per unit (step 1) by the total weight per unit (step 2). Use the price per gram formula given below to do it:

Price per gram = Total price per unit / Total weight per unit

### Price per gram FAQ

Do you need a reminder of the price per gram topic? Here you are, check the FAQ section we prepared for you.

How to calculate price per gram?

**Divide the total price per unit by the total weight per unit and get the price per gram as the result.**

Sources:

https://en.wikipedia.org/wiki/Price