# Sequence of Preparation: Sales → Production → Purchase
Functional budgets are prepared in a strict sequence because each budget feeds into the next.
## 1. Sales Budget (First)
The Sales Budget is prepared first as it determines the number of units the company plans to sell, is capable of selling, or expects to sell. All other budgets flow from it.
## 2. Production Budget (Second)
Prepared on the basis of the Sales Budget. It determines the number of units to be produced to meet sales requirements after adjusting for inventory.
### Formula — Units to be Produced
```
Opening Stock of FG + Units Produced − Closing Stock of FG = Sales
=> Units to be Produced = Sales + Closing Stock of FG − Opening Stock of FG
```
## 3. Purchase Budget (Third)
Prepared based on the Production Budget. It determines the quantity of raw material to be purchased to meet production requirements after adjusting for RM inventory.
### Formula — Units to be Purchased
```
Opening Stock of RM + Units Purchased − Closing Stock of RM = Units Consumed in Production
=> Units to be Purchased = Consumption + Closing Stock of RM − Opening Stock of RM
```
## Important Cues from the Question
1. If the pattern of production or consumption is given → the unknown to calculate is purchases.
2. If the question asks to maintain a specific level of closing stock → the unknown to calculate is production (or purchases, depending on context).