# Electricity Cost

**Formula:**`Cost = Rate × Usage`

## Introduction to Electricity Cost Calculator

The electricity cost calculator is used to determine the cost of electricity consumption for a certain period. The formula to calculate the cost is ** Cost** =

**×**

*Rate***. Here,**

*Usage***represents the total cost of electricity,**

*Cost***is the cost per unit electricity, and**

*Rate***is the amount of electricity consumed. The result is in the same currency as the rate used.**

*Usage*## Parameter usage:

`Rate`

= cost per unit of electricity`Usage`

= amount of electricity consumed

## Example valid values:

`Rate`

= 0.15 (currency/unit)`Usage`

= 100 (units)

## Output:

`Cost`

= total cost of electricity

## Data validation:

Both `Rate`

and `Usage`

should be non-negative numbers.

## Summary

This calculator assists in determining the total cost of electricity consumption based on the usage and rate of electricity.

Tags: Electricity, Cost, Consumption