# Exam Study Planner for Flashcards > How many new cards and reviews a day so every flashcard is learned before the exam. Plans each day until one or more exams: how many new flashcards to learn and how many reviews are due, with a cram phase before each exam and a warning (and the minutes a day you would need) when your time budget is not enough. Reviews are forecast with the same FSRS-5 or SM-2 scheduler as Deckwright’s Study view and Lessonleaf; your existing cards and review log can be included. Exports a CSV and a calendar file. Part of usefulweb.site (https://usefulweb.site/). Part of [Lessonleaf](https://lessonleaf.usefulweb.site/) (ownerApp: lessonleaf). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://examstudyplanner.usefulweb.site/ (interactive tool at https://examstudyplanner.usefulweb.site/tool) - JSON API: POST https://examstudyplanner.usefulweb.site/api/v1/calculate with a JSON object of inputs (schema: https://examstudyplanner.usefulweb.site/api/v1/tool) - OpenAPI: https://examstudyplanner.usefulweb.site/openapi.json - MCP (Streamable HTTP): https://examstudyplanner.usefulweb.site/mcp - tool `exam_study_planner` ## Inputs - exams (table): Exams - One row per exam: a date like 2027-01-20 or days from today like +28, the number of cards still to learn, and the tag (heading) of cards you already have for it. - minutesPerDay (integer): Time per study day - today (date): Start date - Empty = today (UTC). - restDays (multiselect): Days without study - cram (boolean): Cram phase before each exam (no new cards, extra reviews) - cramDays (integer): Cram days - cramRetention (number): Recall target on exam day (FSRS) - Cards whose predicted recall on exam day is lower get one more review during the cram days. - secondsNew (number): Time for a new card - secondsReview (number): Time for a review - againRate (number): Share of answers you get wrong - Adds time for repeating missed cards (0.1 = one in ten). - maxNewPerDay (integer): Most new cards on one day - scheduler (select): Scheduler - retention (number): Desired retention (FSRS) - cards (textarea): Cards you already have (optional) - Deckwright or Lessonleaf card text, CSV or Anki text. Cards whose heading or tag matches an exam’s tag belong to that exam; the others to the first exam without a tag. - log (textarea): Review log (optional, CSV: date, card, rating) - Deckwright’s “Export review log” format; without a log your cards count as new. ## Method - Every simulated review goes through the shared scheduler (FSRS-5 with its published default parameters, or SM-2) that also runs Deckwright’s Study view and Lessonleaf; existing cards start from the states rebuilt from your review log. Each simulated answer is “Good”; wrong answers only add time (your error share × the time per card). - Each day: reviews that are due come first, then cram reviews, then new cards. New cards of an exam are spread evenly over its learning days (today until the day before its cram phase, rest days skipped), earliest exam first; a day only takes more than its share when it is behind, and never more than your time budget or the new-card limit allows. - Cram phase (last N days before an exam): no new cards for it; every card whose predicted recall on exam day, R = (1 + 19/81 · t/S)^−0.5, is below the target — with SM-2, every card whose next review would fall after the exam — gets one extra review, weakest first, spread over the cram days. - The plan is realistic when all cards are introduced before their cram phase and no day needs more than the budget. Otherwise the smallest daily budget that fits is found by bisection over the same simulation (whole minutes, at most 24 hours). - Predicted recall on exam day is the FSRS mean over introduced cards; “all cards” counts cards that were never introduced as 0. ## Limits - A plan, not a promise: real answers vary, and the times per card are estimates — measure your own pace for a few days and adjust them. Recall figures are model estimates with default parameters.