在線即時計算器 · 純前端本地秒算 · 零數據上傳

⏱️ 出生日期計算機

專業免費的 出生日期計算機。純前端本機毫秒級計算、零資料上傳、極致隱私保護。提供詳細公式推導、實例示範與常見問答。

即時推算結果 (Computed Output)
September 15, 1,996 Sunday
專業公認計算模型,即時運算完畢
📜 計算歷史記錄 (試算軌跡)
尚無歷史記錄,每次點擊「計算」將在此留下試算軌跡...

What Is the Date of Birth Calculator?

This tool works backward from an age to find a date of birth. Given a reference date (often today) and a person's age expressed in years, months, and days, it subtracts that age from the reference date to recover the original birth date — along with the day of the week that date fell on. It is handy for filling forms, verifying records, demographic research, and genealogy where only the age "as of" a certain date is known.

How to Use It

Enter the reference date (the date on which the age is measured) using the year, month, and day fields. Then enter the age in three parts: full years, additional months (0–11), and additional days. The calculator subtracts days first, then months, then years, so the calendar correctly accounts for varying month lengths and leap years.

The Formula Explained

The core relationship is simply DOB = Reference Date − Age. Because months and years have different lengths, the subtraction is done calendar-aware rather than by a fixed day count. For example, subtracting "1 year" from 1 March 2024 lands on 1 March 2023, regardless of the 2024 leap day in between.

DOB = Date\Big(Year,\ Month,\ Day\Big) - Days - Months - Years

\begin{gathered} DOB = Ref - Days - Months - Years \\[1.5em] where ≤ft{ \begin{aligned} Ref &= Date\Big(Year,\ Month,\ Day\Big) \\ Days &= Age Days \\ Months &= Age Months \\ Years &= Age Years \end{aligned} \right. \end{gathered}

Worked Example

Suppose the reference date is 15 June 2024 and the age is 30 years, 2 months, 10 days. Subtract 10 days → 5 June 2024. Subtract 2 months → 5 April 2024. Subtract 30 years → 5 April 1994. That is the estimated date of birth.

使用注意事項與精準校對原則(6 大核心守則)

📐 1. 嚴格對齊輸入量綱與單位

輸入各項數值時請務必確認量綱(例如小時、天數、金額、百分比),避免單位不匹配引發推算偏差。

🔒 2. 純前端本機毫秒級隱私保障

所有計算邏輯 100% 在您的終端瀏覽器內完成,資料絕不上傳伺服器,嚴格守護商業與個人隱私。

📊 3. 符合公認學術與產業計算模型

演算法嚴格遵循國際通用數學公式與標準計算模型,經多重情境交叉核對,數值嚴密精確。

📋 4. 一鍵複製與免登入 PDF 匯出

支援一鍵複製推算結果字串至剪貼簿,亦可直接點擊列印按鈕輸出純淨 PDF 工作報表。

🔄 5. 多情景敏感度動態對比

建議針對極端值與多組預期情景分別試算,觀察輸出數據的波動區間,輔助做出更穩健的決策。

🛡️ 6. 專業諮詢與日常參考免責聲明

本工具運算結果供日常排程、學業研習與事前參考之用,如涉及重大法規或投資決策請諮詢持證專家。

常見問題 (FAQ)

Why subtract days before years?
Doing days, then months, then years keeps the arithmetic stable across month boundaries and leap years, mirroring how calendars naturally roll over.
Is the result exact?
If you know the exact age in years, months, and days as of the reference date, the result is exact. If you only know whole years, the day and month will reflect the reference date's day and month.
Does it handle leap years?
Yes — the calculation uses a real calendar, so February 29 and leap-year lengths are respected automatically.