Calculate OvulationCalculate Ovulation in Google Sheets & Excel

OnlineCredit Usage:1 per cell

Formula

The API calculates most fertile days, follicular and luteal phases, and provides a comprehensive fertility calendar with day-by-day fertility levels.

In a cell
=VERVE("ovulationcalculator", A2, "field", "disclaimer")
In a cell
=VERVE.CALL("ovulationcalculator", A2, "field", "disclaimer")

A2 holds the last_period you're looking up. Drag the formula down and each row resolves on its own.

With literal values

Nothing has to come from a cell — typed values work the same way.

In a cell
=VERVE("ovulationcalculator", "2024-01-01", "field", "disclaimer")
In a cell
=VERVE.CALL("ovulationcalculator", "2024-01-01", "field", "disclaimer")

Inputs

Required inputs are positional, in the order below. Everything else is passed as a "name", value pair after them — the same shape as SUMIFS.

InputTypeWhere it goesDescription
last_periodRequiredstringargument 2First day of last menstrual period (YYYY-MM-DD) (e.g. 2024-01-01)
cycle_lengthinteger"cycle_length", valueAverage menstrual cycle length in days (e.g. 28)

Passing an option

In a cell
=VERVE("ovulationcalculator", A2, "cycle_length", 28)
In a cell
=VERVE.CALL("ovulationcalculator", A2, "cycle_length", 28)

What lands in your sheet

The "field" pair is what makes the formula resolve to one cell. The name is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.

Seeing everything at once

Drop the "field" pair and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.

Spills a two-column table
=VERVE("ovulationcalculator", A2)
Spills a two-column table
=VERVE.CALL("ovulationcalculator", A2)

Good for finding out what a source returns, but it is not a formula you can fill down: the second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field. Leave the cells below and to the right empty.

Available fields

Fields marked Premium need a paid plan. On the free plan those cells read #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.
Use as "field"TypeExample cell valueDescription
last_periodstring2024-01-01The first day of the last menstrual period provided
cycle_lengthnumber28The average menstrual cycle length in days
ovulationobject{…}Estimated ovulation date and how many days into the cycle it falls
ovulation.datestring2024-01-15Calculated ovulation date in YYYY-MM-DD format
ovulation.days_from_last_periodPremiumnumber14Number of days from last period to ovulation
fertile_windowobject{…}Range of days conception is possible, with its length
fertile_window.startPremiumstring2024-01-10Start date of the fertile window period
fertile_window.endPremiumstring2024-01-15End date of the fertile window period
fertile_window.duration_daysPremiumnumber6Total duration of fertile window in days
most_fertile_daysobject{…}The narrower range with the highest chance of conception
most_fertile_days.startPremiumstring2024-01-13Start date of the most fertile days period
most_fertile_days.endPremiumstring2024-01-15End date of the most fertile days period
most_fertile_days.duration_daysPremiumnumber3Duration of the most fertile days in days
fertile_daysPremiumarray[6]list of rowsArray of daily fertility data with levels and descriptions
fertile_days.0.datePremiumstring2024-01-10Date of the fertile day in YYYY-MM-DD format
fertile_days.0.day_relative_to_ovulationPremiumnumber-5Days relative to ovulation date (negative before, positive after)
fertile_days.0.fertility_levelPremiumstringmediumFertility level classification: low, medium, high
fertile_days.0.descriptionPremiumstringFertileHuman-readable description of fertility status for day
next_periodobject{…}Estimated start of the next period and how many days away it is
next_period.datePremiumstring2024-01-29Estimated date of the next menstrual period
next_period.days_from_last_periodPremiumnumber28Days from last period to expected next period
cycle_phasesobject{…}The phases of the cycle with their length and what happens in each
cycle_phases.follicular_phaseobject{…}From the first day of the period to ovulation
cycle_phases.follicular_phase.duration_daysPremiumnumber14Duration of follicular phase in days
cycle_phases.follicular_phase.descriptionPremiumstringFrom first day of period to ovulationDescription of the follicular phase
cycle_phases.ovulationobject{…}The day the egg is released
cycle_phases.ovulation.duration_daysPremiumnumber1Duration of ovulation phase in days
cycle_phases.ovulation.descriptionPremiumstringEgg is released from ovaryDescription of the ovulation phase
cycle_phases.luteal_phaseobject{…}From ovulation to the start of the next period
cycle_phases.luteal_phase.duration_daysPremiumnumber14Duration of luteal phase in days
cycle_phases.luteal_phase.descriptionPremiumstringFrom ovulation to next periodDescription of the luteal phase
current_statusobject{…}Where today falls in the cycle, and whether it is a fertile day
current_status.current_phasePremiumstringMenstruationCurrent phase of menstrual cycle relative to today
current_status.is_fertilePremiumbooleanfalseWhether the user is currently in the fertile window
current_status.days_until_ovulationPremiumnumber-701Days until ovulation from today (negative if past)
current_status.days_until_next_periodPremiumnumber-687Days until next period from today (negative if past)
disclaimerstringThis calculator provides estimates only. Actual ovulation may vary. Consult a healthcare provider for medical advice.Medical disclaimer regarding calculator accuracy

Filling a whole column

Both platforms make one batched call for a column rather than one request per cell, and both cost the same — 1 credit per row looked up. How you write it differs, because the two runtimes batch at different points.

Rows 2–100 in one call
=VERVE("ovulationcalculator", A2:A100, "field", "disclaimer")

Give the arguments ranges and the answers spill down from the cell you typed in. Sheets custom functions run synchronously and in isolation, so dragged cells can't be coalesced — the range form is how a column becomes one call.

The "field" pair is required here: a per-row two-column table has nowhere to spill. Use a full column per input (A2:A100, not A2) — a single-cell reference is read as row 1 only, and the rest of the column comes back blank.

Type once, then fill down
=VERVE.CALL("ovulationcalculator", A2, "field", "disclaimer")

Drag or double-click the fill handle — no range form and none needed. Excel's runtime is asynchronous, so the add-in coalesces the calls a fill produces into a single batched request on its own.

Don't hand VERVE.CALL a range: Excel flattens it into positional arguments, so A2:A100 arrives as a hundred separate arguments and the cell reads #ERR rather than filling.

Either way, column A holds your last_period values and the answers land beside them, one row each, blank rows skipped.

When a cell doesn't fill

A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() won't catch it; test with LEFT(cell, 4) = "#ERR" instead.

Cell readsWhat happened
#ERR Not connectedNo API key saved. Open the side panel and connect your account.
#ERR Replace <name> with a cell or valueThe preview formula was copied as-is. Swap the placeholder for a cell reference.
#ERR No "x" in ovulationcalculatorAn option name that this source doesn't take. The message lists the ones it does.
#ERR No data point "…"The "field" path isn't in the response. Check the dot-path against the table above.
#PREMIUM(field)The field exists but your plan doesn't include it.
#ERR Out of creditsThe month's credits are spent. Usage resets on your billing date.

Before the formula works

The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet doesn't leak it and a collaborator without access simply sees the last calculated values.

  1. Install the add-in for Google Sheets or Excel.
  2. Open the side panel and sign in, or paste a key from your dashboard.
  3. Type the formula above into any cell.

Other ways to use Calculate Ovulation

Set up Calculate Ovulation on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an X-API-Key header, with SDKs for Node, Python and .NET.APIVerveReference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKitReference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContextReference →

Frequently asked questions

Does Calculate Ovulation work in both Google Sheets and Excel?

Yes — the same source, the same arguments, the same result. Google Sheets calls it =VERVE("ovulationcalculator", A2, "field", "disclaimer") and Excel namespaces it as =VERVE.CALL("ovulationcalculator", A2, "field", "disclaimer"). Filling a whole column is the one place the two differ: Sheets takes ranges directly, Excel fills down.

Do the cells recalculate on their own?

They recalculate when the sheet does — on edit, on open, or on a manual recalc. Each recalculation is a fresh call and spends credits, so for a large static column it's worth copying the results and pasting them as values.

How many credits does a filled column cost?

1 credit per row looked up, on both platforms and however you fill it. Repeated identical lookups in the same column are charged once. Batching changes how many HTTP calls are made, never the credit count.

Can I share the sheet without sharing my key?

Yes. The key is stored against your account, not in the file. Collaborators see the values already in the cells; formulas only recalculate for someone who has connected their own account.

Why is a cell showing #ERR instead of an error?

So you can read the reason. Excel can't display a custom message on a real spreadsheet error, so the add-in returns the explanation as text on both platforms instead.

What's Next?

Continue your journey with these recommended resources

Was this page helpful?