# 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](https://docs.farmland.games/nfts/land)s come with 1X size by default. [$LAND](https://docs.farmland.games/nfts/land) upgrade allows you to level up and get a new [$LAND](https://docs.farmland.games/nfts/land) out of two [$LAND](https://docs.farmland.games/nfts/land)s using an amount of [$FARM](https://docs.farmland.games/tokens/farm) tokens. This way you can fill your available [$LAND](https://docs.farmland.games/nfts/land) slots with better ones and get more [$BERRY](https://docs.farmland.games/tokens/berry), eventually more [$FARM](https://docs.farmland.games/tokens/farm).

#### Rules

* [$LAND](https://docs.farmland.games/nfts/land) 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](https://docs.farmland.games/nfts/land)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](https://docs.farmland.games/tokens/farm) tokens is required to level up. This amount depends on the levels of [$LAND](https://docs.farmland.games/nfts/land)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](https://docs.farmland.games/nfts/land)s)

x + (y \* z) = 1200 [$FARM](https://docs.farmland.games/tokens/farm) tokens required for upgrade

#### Burn probability

There is a possibility to lose both of your two [$LAND](https://docs.farmland.games/nfts/land)s and get nothing in return. This possibility depends on the levels of [$LAND](https://docs.farmland.games/nfts/land)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](https://docs.farmland.games/nfts/land)s)

x + (y \* z) = 7%

In the calculation above, if **R** is lower or equal to 7 then both two [$LAND](https://docs.farmland.games/nfts/land)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](https://docs.farmland.games/nfts/land).

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](https://docs.farmland.games/nfts/land) (level and soil type up)&#x20;

otherwise: you get 2x Sandy [$LAND](https://docs.farmland.games/nfts/land) (level up).
