> For the complete documentation index, see [llms.txt](https://docs.farmland.games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.farmland.games/land-upgrade.md).

# LAND Upgrade

![](https://713804970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuAZw9Cgb1gYI02QLTrEz%2Fuploads%2FtBgODpjjQXDD6ip81Hoz%2Fimage.png?alt=media\&token=d31f375c-56a5-44e7-a932-99f4cb8224af)

[$LAND](/nfts/land.md)s come with 1X size by default. [$LAND](/nfts/land.md) upgrade allows you to level up and get a new [$LAND](/nfts/land.md) out of two [$LAND](/nfts/land.md)s using an amount of [$FARM](/tokens/farm.md) tokens. This way you can fill your available [$LAND](/nfts/land.md) slots with better ones and get more [$BERRY](/tokens/berry.md), eventually more [$FARM](/tokens/farm.md).

#### Rules

* [$LAND](/nfts/land.md) to level up must be equal. For example, you can upgrade with 1x Sandy and 1x Silty but 1x Sandy and 2x Silty is not possible.
* No upgrade for 4x [$LAND](/nfts/land.md)s because that is the maximum level.

#### Random number

The upgrade process starts with a random number between 0-100. We'll use it for calculations following. Let's define it here:

**R** = A random number between 1–100

#### Upgrade price

An amount of [$FARM](/tokens/farm.md) tokens is required to level up. This amount depends on the levels of [$LAND](/nfts/land.md)s you are upgrading.

This is how we calculate it:

**x**= 900 (base price) \
**y**= 100 (extra price per level) \
**z**= 3 (level of your [$LAND](/nfts/land.md)s)

x + (y \* z) = 1200 [$FARM](/tokens/farm.md) tokens required for upgrade

#### Burn probability

There is a possibility to lose both of your two [$LAND](/nfts/land.md)s and get nothing in return. This possibility depends on the levels of [$LAND](/nfts/land.md)s you are upgrading.

This is how we calculate it:

**x**: 5 (base burn probability) \
**y**: 1 (additional burn probability per level) \
**z**: 2 (level of your [$LAND](/nfts/land.md)s)

x + (y \* z) = 7%

In the calculation above, if **R** is lower or equal to 7 then both two [$LAND](/nfts/land.md)s get burned and the user gets nothing in return.

#### Level up calculation

Let’s say you want to level up using 1X Sandy Land and 1X Clay Land to get a 2X [$LAND](/nfts/land.md).

This is how it works:

**x**= 60,000 Total Land Supply \
**y** = 20,000 Total Sandy Lands \
**z** = 10,000 Total Clay Lands

![](https://i.imgur.com/i79YMVg.png)

**Probability threshold to get a 2X Clay Land**

if **R** is greater than y2 then: you get 2X Clay [$LAND](/nfts/land.md) (level and soil type up)&#x20;

otherwise: you get 2x Sandy [$LAND](/nfts/land.md) (level up).
