ForHosting KIT · Education

Split a class into evenly sized study groups

Ten students with a target of three become four groups of 3, 3, 2 and 2, not three trios and one student alone. Paste the roster in the order you want and choose a group size; names keep their order. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Target group size
3
You get
Roster size
10
Group count
4

Turn a class roster into practical, evenly balanced study groups without counting names or repairing an undersized final group by hand. Provide the ordered roster and your preferred group size. The calculator determines how many groups are needed, distributes every student exactly once, and keeps the difference between the largest and smallest groups to no more than one student. The result clearly reports each numbered group, its size, and its members, making it ready to copy into lesson plans, classroom messages, or learning-management systems.

Prepare the roster and choose a useful target

Start with one student name per roster entry and place the names in the order you want the assignment to follow. The tool preserves that order; it does not shuffle, rank, or infer anything about students. This makes the result predictable and suitable when the roster has already been arranged by the teacher, perhaps alphabetically or according to a separate pedagogical plan.

Next, enter the preferred number of students in each group. Treat this number as a target rather than an absolute promise. A class total will not always divide cleanly by the requested size, so the calculator may make some groups slightly smaller to keep the complete set balanced.

The target must be a positive whole number and cannot be larger than the roster itself. Review the roster for blank entries before submitting it, since every entry represents a real assignment slot. Duplicate names are retained intentionally because two students can share a name; add initials or another classroom-safe distinction when needed.

Understand how balanced group sizes are calculated

The calculator first divides the number of students by the target group size and rounds upward to determine how many groups are required. It then spreads the full roster across that number of groups as evenly as mathematics permits. Larger groups are listed first, and no pair of groups differs in size by more than one student.

For example, a roster of ten students with a target of three needs four groups. Instead of producing three groups of three and a final group of one, which would leave one student with a very different experience, it produces sizes of three, three, two, and two. Members are taken sequentially from the supplied roster, with every name appearing exactly once.

The response includes the original roster size, requested target size, actual group count, and a numbered list containing each group size and its members. This explicit structure makes the calculation easy to audit and simple for another system to consume without parsing formatted prose.

Use the result responsibly in a classroom workflow

Copy the numbered groups into a lesson plan, virtual classroom, breakout-room schedule, or printed activity sheet. Because the operation is deterministic, submitting the same roster and target again produces the same result, which is useful when a plan must be reviewed or recreated later. The tool solves the arithmetic problem of balanced sizes, but it does not assess student needs, friendships, accessibility, language proficiency, attendance, or learning goals.

Teachers should therefore review the proposed groups and make deliberate adjustments when those factors matter. If you alter membership manually, check that every student still appears once and that group sizes remain appropriate for the activity. For recurring classes, decide whether preserving roster order is desirable; if varied membership is the goal, reorder the roster through an approved process before using this calculator.

No network service, random source, or current time influences the calculation.

Plan a classroom activity

Turn the current attendance roster into balanced groups sized for a discussion, lab, or collaborative worksheet.

Prepare breakout rooms

Generate a structured list of evenly sized groups that can be copied into an online class plan.

Automate course administration

Send rosters from a learning workflow and receive predictable group assignments in machine-readable form.

What happens when the roster does not divide evenly?

The tool creates the required number of groups and distributes students so the largest and smallest groups differ by no more than one.

Does the tool shuffle student names?

No. It preserves the roster order and assigns contiguous names to each numbered group.

Are duplicate names allowed?

Yes. Entries are preserved exactly, including duplicates. Add initials or another safe distinction if identical names could cause confusion.

How many groups will I get?

The number of students divided by your target size, rounded up. Ten students with a target of three need four groups, and the result lists each numbered group with its size and members.

Can the group size be larger than the class?

No. The preferred size must be a positive whole number and cannot be larger than the roster. Treat it as a target: some groups may end up one student smaller to keep the set balanced.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/edu/study-group-size-split

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/edu/study-group-size-split \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"roster":["Amina","Bruno","Chen","Daria","Emil","Fatima","Grace","Hugo","Iris","Jonah"],"target_group_size":3}'
{
  "roster": [
    "Amina",
    "Bruno",
    "Chen",
    "Daria",
    "Emil",
    "Fatima",
    "Grace",
    "Hugo",
    "Iris",
    "Jonah"
  ],
  "target_group_size": 3
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "edu.study_group_size_split",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_items10000
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Use the result responsibly in a classroom workflow

Browser use is convenient for an occasional class, while the API at $0.002 per request supports repeatable scheduling and administrative workflows.

Can the target group size exceed the class size?

No. That input returns an invalid_input error because the target group size cannot exceed the roster size.

What does an API request cost?

Each API request costs $0.002. You can also run the same deterministic calculation in your browser.

Read the full KIT documentation →