Kalkulata
Calculate hours worked between two times, with breaks and overtime.
Results update as you type.
Game da wannan Kalkulator
An hours calculator turns a start and end time into total hours worked, subtracting any unpaid break and splitting the result into regular and overtime hours once you pass a daily threshold. Enter times in 24-hour HH:MM or with AM/PM; an end time before the start is treated as an overnight shift. It also reports the paid time as total minutes.
It first measures the gap between clock-in and clock-out (rolling past midnight if needed), then subtracts the unpaid break in minutes to give the paid hours. If you set a daily overtime threshold, any paid time above it is peeled off into an overtime bucket while the rest stays as regular hours; set the threshold to 0 to treat everything as regular. The final figures come out in decimal hours so they drop straight into a pay calculation.
For example, a shift from 9:00 am to 6:00 pm with a 30-minute unpaid break is 8.5 paid hours; with the overtime threshold at 8 hours that splits into 8 regular plus 0.5 overtime. An overnight shift from 22:00 to 06:30 with a 30-minute break comes to 8.0 paid hours. Use it to add up a day’s hours worked, check a paycheck, or size overtime before it is billed.
Tambayoyi da ake yi da yawa
Ta yaya aka yi wa wannan rarraba?
An rage tsawo ba da kudinsa ba a cikin mintina daga lokacin aiki kafin a yi rahoton sa'o'i. Shirin 09:00–17:30 tare da tsawo na mintina 30 yana da sa'o'i 8.0 da ake biya.
Yadda ake raba sa'o'i na aiki na kan lokaci?
Any hours above the daily overtime threshold are moved from regular to overtime. With an 8-hour threshold, a 9.5-hour day is 8 regular plus 1.5 overtime. Set the threshold to 0 to count everything as regular.
Ta yaya zan ƙididdige sa'o'i da aka yi aiki tsakanin lokaci biyu?
Enter your clock-in and clock-out times, set the unpaid break, and the tool returns the paid hours as a decimal — for example 9:00 to 17:30 with a 30-minute break is 8.0 hours.
Shin yana iya tafiyar da dare ko kuma sa'o'i na kaburbura?
Yanzu, idan lokaci na ƙarshe ya fi na farko, zai ƙara sa'o'i 24, don haka za'a lissafa canji daga 22:00 zuwa 06:00 a matsayin sa'o'i 8 ba tare da wani lokaci na rashin daidaituwa ba.
Shin, zan iya samun albashi da kuma sa'o'i?
Wannan kayan aiki yana mai mai da hankali kan sa'o'i. Don ƙidaya sa'o'i da adadin sa'o'i da kuma ganin albashi mai yawa ga wani ko fiye da canji, amfani da kalkuleta na katin lokaci.
Shin, wannan jinkiri an biya shi ne, ko kuwa ba a biya shi ba?
The break you enter is treated as unpaid and subtracted from the worked time. If your break is paid, leave the break field at 0.
API — amfani da wannan calculator daga code
Ka kira wannan kwalban kamar wata maɓallin ƙarshe JSON mai kyauta - babu maɓalli da ake buƙata. Ka aika kimar fannin ƙasa kamar paramita na tambaya ko JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Read the full API docs →
Endpoint
GET https://calculator.free/api/v1/hours-calculator/
curl
curl "https://calculator.free/api/v1/hours-calculator/?start=09:00&end=17:30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/hours-calculator/?" + new URLSearchParams({
"start": "09:00",
"end": "17:30"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.