Same-day per diem and the 12-hour rule
When a trip with no overnight stay earns 75% M&IE, and when it earns nothing.
A same-day trip (you leave and return on the same calendar day) does not earn lodging. Whether you get M&IE depends on how long you are in travel status.
The 12-hour line
Under 41 CFR 301-11.20, travel of more than 12 hours and less than 24 hours pays 75% of the applicable M&IE rate for each calendar day you are in travel status. Travel of 12 hours or less does not earn M&IE. The calculator leaves the total at $0 unless you tick that the same-day trip ran over 12 hours.
The applicable rate is the temporary duty location, not your official station. Provided meals are still deducted from that 75% amount, never below the $5 incidentals floor, and airline or complimentary hotel meals are not deducted.
What agencies still decide
Your authorization can set a reduced rate, and some agencies have tighter rules for local or same-day travel. The Federal Travel Regulation sets the ceiling, not a guarantee that your voucher will pay it. Use the calculator and the 75% rule guide for the arithmetic.