# Estimate transaction cost (DEPRECATED)

To measure the cost of a transaction in fiat currency, we calculate as follows

$$
\frac{\text{gas consumed} \times \text{median gas cost} \times \text{tez price}}
{1,000,000} = \text{tx price}
$$

We take as an example the median gas cost**¹**, and the tez price on October 7, 2021:

* median gas cost: 0.1 / gas unit&#x20;
* tez price: 6.7

We use the following values for the gas usage:&#x20;

$$\begin{array}{l@{\ }c@{\ }l}   \text{tez transfer cost} &=& \frac{1,500 \times 0.1 \times 6.7}{1,000,000} \approx 0.001005\ EUR \\\[2ex] \text{NFT transfer cost} &=& \frac{123,000 \times 0.1 \times 6.7}{1,000,000} \approx 0.08241\ EUR \\\[2ex] \text{Mint NFT cost} &=& \frac{94,000 \times 0.1 \times 6.7}{1,000,000} \approx 0.06298\ EUR \end{array}$$​

* Hic et Nunc NFT minting: [94,000 gas units](https://better-call.dev/mainnet/opg/oopxYaUWMAs8iCG55YVytiuzqCF3AzQ8svZV17cp95vYUQPiVsQ/contents)&#x20;
* Hic et Nunc NFT transfer: [123,000 gas units](https://better-call.dev/mainnet/opg/onui6v8SQJUNmPBsmvMaDxiAbBNn8r85pmAifrHWcP2KNRSGvEu/contents)&#x20;
* tez transfer: [1,500 gas units](https://tzkt.io/onedAYdnpGG37aDmACc6qiJz1BPTSqPMNBxGwJstwZsNiAPz2D1)

This cost calculation is indicative only. It’s not absolute nor guaranteed; it’s a cost estimate based on figures which are valid at one particular moment.

**\[1]:** We took the median value in a range of 13 gas cost values.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nomadic-labs.com/nomadic-labs-knowledge-center/how-to/estimate-transaction-cost.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
