Attendance

Geofence Attendance: How It Works, From Radius Design to Payroll Audit Trail

Geofence attendance accepts a staff punch only when the phone's location falls inside a virtual boundary drawn around the workplace. How geofenced attendance actually works: perimeter design, GPS accuracy thresholds, the awkward edge cases and the audit trail payroll needs.

WappBlaster Team Published 16 May 2026 Updated 1 Jun 2026 8 min read

How Geofenced Attendance Actually Works: green cover card with the Attendance label, two chat bubbles and an 8 min read tag

Geofence attendance in brief

Geofence attendance turns a mobile punch into verified work-site attendance by accepting it only when the phone's GPS places the employee inside a virtual perimeter, usually a circle of 50 to 200 metres around the site, or a polygon for long warehouses and multi-building campuses. WappBlaster's Attendance Suite pairs that fence with anti-spoof checks for mock location, rooted devices, emulators and physics, because a fake-GPS app alone can place someone inside any boundary. Radius design follows three rules: match it to worst-case GPS accuracy, which runs 5 to 30 metres outdoors and degrades badly indoors; include the staff entrance where most punches happen; and keep sites within about 200 metres of each other from overlapping. Deep buildings and basements are handled by punching at the lobby. Each record carries timestamp, device ID, IP, coordinates, accuracy radius, distance from the centre, an in or out flag, spoof signals and the selfie with its liveness verdict, the pack payroll needs when a deduction is disputed. Sites can be bulk-loaded by CSV.

How does geofence attendance work?

Geofence attendance draws a virtual perimeter, usually a circle with a set radius, around each work site and accepts a punch only when GPS places the employee inside it.

WappBlaster's Attendance Suite pairs geofenced punches with anti-spoof checks before the data reaches payroll.

  • Set the radius to fit GPS accuracy, neither too tight nor too loose.
  • Basements and multi-floor buildings need special handling.
  • Payroll needs an audit trail of where and when each punch happened.

Geofence attendance benefits

  • Punches tied to the real site

    Attendance marked from home, the parking lot or another office is flagged instead of accepted.

  • Fewer false rejections

    A radius matched to GPS accuracy stops staff at the door from being marked outside.

  • Spoof-resistant evidence

    Mock-location and rooted-device flags close the gap that a fence alone leaves open.

  • Audit pack for payroll

    Disputed deductions are settled with coordinates, distance and a selfie for each punch.

  • Fast multi-site setup

    A CSV of site names, centres and radii creates every fence in a single upload.

  • Low battery cost

    Operating-system geofence APIs monitor passively, using under 1% of battery a day for attendance.

A geofence is a virtual perimeter drawn on a map around a physical work site, store, office, factory, customer location. Modern attendance and field apps use geofences to ensure that an employee's punch happens at the right place, not at home, not in the parking lot, not at a competitor's office. This is what turns mobile attendance from "phone tap" into "verified work-site attendance".

How geofences work for attendance

Most geofences are circular, a centre coordinate plus a radius (typically 50–200 metres depending on site size and GPS accuracy). Polygonal fences are available for irregular sites (long warehouses, multi-building campuses). When an employee's device GPS reads a location inside the perimeter, the app fires an event, auto check-in, attendance acceptance, visit-form prompt, and a corresponding exit event when they leave.

For attendance, the geofence acts as a gate: a selfie taken inside the fence is accepted; a selfie taken outside is flagged or rejected (configurable). For field workforce visits, geofence entry auto-checks the rep into the customer site and starts visit dwell time.

Geofence attendance perimeter design, getting the radius right

Three rules. (1) Match the radius to GPS accuracy. Typical outdoor accuracy is 5–30 m; indoor accuracy degrades to 50–100 m on the device, sometimes worse in deep buildings. A radius smaller than the worst-case accuracy will produce false rejections. (2) Include the staff entrance, not just the centre. Most punches happen at the door; if the fence centre is on the far side of the building, accuracy can drift the punch outside. (3) Avoid overlap. If two sites are within 200 m, distinct geofences need careful centres and radii to avoid cross-site false positives.

Geofence attendance edge cases: buildings, basements, multi-floor

GPS accuracy collapses indoors. For sites where staff spend the work day deep in a building, the punch should happen at entry, the geofence catches them at the door, the app accepts, and the rest of the day's data does not depend on GPS. Some apps additionally use Wi-Fi SSID anchors or BLE beacons for indoor verification.

For basements and multi-floor offices, the punch ideally happens at the lobby (good GPS) before staff descend to a low-signal area.

Multi-site geofence attendance rollout

For 1–5 sites, draw fences manually on the map, 5 minutes per site. For 10–100 sites, bulk-upload a CSV with site name + centre coordinates + radius, minutes for the entire set. Per-branch managers see only their own site; owners see all. Geofence breaches (off-fence punches) are flagged automatically in the daily report.

Geofence attendance audit trail, what payroll needs

Every punch record carries: timestamp, device ID, IP address, GPS coordinates, accuracy radius, distance from geofence centre, in-fence / out-of-fence flag, anti-spoof signals (mock-location, rooted, emulator), and the selfie image with liveness verdict. This is the audit pack your payroll team needs when staff dispute a deduction or when a labour-law audit asks for evidence.

Geofence attendance + anti-spoof, together

Geofence enforcement on its own is gameable, a rep using a fake-GPS app can fake a position inside the fence. That is why geofence is paired with anti-spoof detection (mock-location flag, rooted-device, physics checks) to make the combined surface defensible. Either signal alone is necessary but not sufficient; together they produce the audit quality of fingerprint hardware at one percent of the cost.

Compare alternatives: vs Truein · vs Jibble · vs Keka · vs greytHR · attendance & workforce glossary.

Related reading: how anti-fake GPS works, buddy punching prevention and the mobile attendance software.

Geofence attendance setup, step by step
Feature Where When
Choose a circle or a polygon Site map in the app During setup, about 5 minutes per site by hand
Set the radius 50 to 200 metres, matched to GPS accuracy For each site
Include the staff entrance Fence boundary at the door For each site
Separate nearby sites Sites within about 200 metres Before going live
Bulk-load many sites CSV with name, centre and radius Minutes for 10 to 100 sites
Review off-fence punches Daily report Every day

When geofence attendance is the wrong choice

  • Field reps who move between customers all day have no single site to fence, so live route tracking suits them better.
  • Where staff have reason to cheat, a fence on its own can be fooled by fake-GPS apps, so do not rely on it without anti-spoof checks.

Geofence Attendance: questions

What is a geofence?

A geofence is a virtual perimeter drawn on a map around a physical work site. Modern attendance and field apps use geofences to ensure employee punches and visits happen at the right place, accepting events inside the fence and flagging events outside it.

Link to this answer

What radius should I use for the geofence?

Match the radius to expected GPS accuracy. Typical outdoor accuracy is 5–30 m and degrades indoors. A safe default is 100 m for office buildings and 50–200 m for retail and field-visit sites, adjust based on testing.

Link to this answer

Can geofence attendance be faked with a fake-GPS app?

Geofence alone can be faked. Geofence paired with anti-spoof detection (mock-location flag, rooted-device, emulator, physics-based checks) makes the combined surface defensible. WappBlaster always pairs the two.

Link to this answer

Does geofence drain the phone battery?

Modern implementations use the OS's geofence APIs, which run battery-efficient passive monitoring rather than continuous GPS polling. Attendance-only use cases draw under 1% of battery per day.

Link to this answer

Can I have multiple geofences for one employee?

Yes. An employee can have multiple assigned sites (e.g., a regional sales manager covering 5 stores), and the app accepts a punch inside any assigned geofence. The audit trail records which fence was triggered.

Link to this answer

What happens if GPS is unavailable?

Offline-first apps queue the punch locally with a signed timestamp; when GPS becomes available, the location is verified retroactively. If GPS is permanently unavailable (deep indoor sites), some apps use Wi-Fi or BLE anchors as a secondary anchor.

Link to this answer

How do I bulk-add geofences for many sites?

Upload a CSV with site name, centre coordinates and radius. The system creates all geofences in seconds. Per-branch manager scoping is also bulk-configurable.

Link to this answer

Can a geofence be a polygon instead of a circle?

Yes. Polygonal fences suit irregular sites such as long warehouses or multi-building campuses, while most offices use a centre point and a radius.

Link to this answer

Why do punches near the entrance get rejected?

Usually the fence centre sits on the far side of the building and GPS drift pushes the door punch outside. Make sure the perimeter includes the staff entrance.

Link to this answer

What happens when two work sites are close together?

If sites are within about 200 metres, the fences need carefully placed centres and radii so a punch at one is not counted at the other.

Link to this answer

Still not answered?

Ask a real person. We reply on WhatsApp, usually within the hour.

Ask on WhatsApp

WappBlaster Team

Workforce Product Experts

The WappBlaster team builds attendance, field-tracking, payroll, leave, expense and reports software for 3,500+ India and UAE SMBs, including 28-store retail chains, multi-site construction firms, hospitals and university campuses.

Ready to fix attendance & payroll?

Deploy selfie + geofence attendance across sites in days, not months.