
- Home
- Free Tools
- Batch Size Optimizer
Batch Size Optimizer
Balance room capacity, preferred teaching size, and student demand — get recommended batch size and batch count.
- 100% free
- No sign-up required
- Runs in your browser
- JSON API for agents
Recommended plan
- 1.size = min(40, 35) = 35
- 2.batches = ceil(95 ÷ 35) = 3
- 3.revenue = 95 × 25000 = 2375000
min()
Capacity vs preference
₹
Revenue estimate
Live
Updates as you type
How batch size is optimized
Each block explains one part of how this works and how to read the result.
Constraint model
The recommended batch size is the minimum of physical room capacity and your preferred teaching size (pedagogy/quality cap).
Batches needed = ceil(demand ÷ recommended size). Leftover demand appears when you intentionally run fewer batches.
Source
recommendedSize = min(roomCapacity, preferredSize); batchesNeeded = ceil(demand ÷ size). Revenue = studentsServed × fee. Planning model for coaching institutes — not a guarantee of fill rate.
Frequently asked questions
Should preferred size be lower than room capacity?
Often yes — a 60-seat room may teach better at 40. The optimizer respects your pedagogy cap.
Does it account for dropouts?
No — use expected enrolled demand, or lower demand by your historic show-up rate.
Can I model multiple rooms?
Run once per room type, or set room capacity to total parallel seats if batches run simultaneously.
Is fee required?
Only for the revenue estimate — leave fee at 0 if you only need size/batch counts.
Related teacher & school planning tools
More free calculators and formats in the same lane.
For developers & AI agents
The Batch Size Optimizer is also available as a free, unauthenticated JSON API — no API key, no sign-up, CORS enabled for all origins. Send a GET request with the parameters below and receive the computed result as JSON, including the source of the format or formula used. Invalid input returns HTTP 400 with a JSON { "error": "..." } body.
GET https://knwdle.com/api/tools/batch-size-optimizer| Parameter | Required | Description |
|---|---|---|
demand | Yes | Number of students to accommodate |
roomCapacity | Yes | Max seats in the room |
preferredSize | Yes | Preferred teaching batch size |
feePerStudent | No | Fee per student for revenue estimate (default 0) |
Request:
GET https://knwdle.com/api/tools/batch-size-optimizer?demand=95&roomCapacity=40&preferredSize=35&feePerStudent=25000
Response:
{
"tool": "batch-size-optimizer",
"name": "Batch Size Optimizer",
"source": "recommendedSize = min(roomCapacity, preferredSize); batchesNeeded = ceil(demand ÷ size). Revenue = studentsServed × fee. Planning model for coaching institutes — not a guarantee of fill rate.",
"recommendedBatchSize": 35,
"batchesNeeded": 3,
"studentsServed": 95,
"leftoverDemand": 0,
"estimatedRevenue": 2375000,
"steps": [
"recommendedBatchSize = min(40, 35) = 35",
"batchesNeeded = ceil(95 ÷ 35) = 3",
"studentsServed = 95; leftoverDemand = 0",
"estimatedRevenue = 95 × 25000 = 2375000"
]
}
Run the whole institution on one system
Knwdle connects timetables, attendance, fees, and academics — so planning tools become live operations, not one-off PDFs.
Free trial · No credit card · SaaS or custom-built