Swipe Test

Swipe across the box below in any direction. This tool measures your real swipe distance, direction, and velocity, straight from actual touch events.

● Swipe anywhere inside the box below
Swipe here
Direction
-
Distance
- px
Duration
- ms
Velocity
- px/s

What Is a Swipe Test?

This tool measures the real mechanics of a swipe gesture: which direction it traveled, how far, how long it took, and how fast - all calculated from actual touch or pointer events rather than assumed or estimated. Swipe gestures are central to how touchscreens are used every day, from navigating between home screens to dismissing notifications, so a touchscreen or trackpad that struggles specifically with swipe recognition is worth catching.

How to Use the Swipe Test

  1. Place your finger (or cursor, on a touch-enabled trackpad) inside the box above.
  2. Swipe in any direction - up, down, left, or right - and lift your finger to finish.
  3. Check the detected direction, distance, duration, and velocity in the readouts.
  4. Try swipes of different speeds and lengths to see how the numbers change.
  5. A very short motion will register as a tap rather than a swipe, which is expected behavior.

How It Works

This tool records the exact position and timestamp when your touch begins with pointerdown, and again when it ends with pointerup. Distance is the straight-line gap between those two points, duration is the time difference between the events, and velocity is distance divided by duration - giving a genuine speed figure in pixels per second. Direction is calculated from the angle between the start and end points, classified into the nearest of the four cardinal directions.

Understanding Your Results

  • Direction matches your intended swipe consistently - your touchscreen or trackpad is tracking swipe gestures accurately.
  • Short, deliberate swipes register as taps - this is the expected 10-pixel threshold used to distinguish a genuine swipe from an accidental tap; try a more deliberate motion.
  • Detected direction feels off from what you intended - try swiping in a cleaner straight line; diagonal motion will register as whichever cardinal direction is closest to your actual angle.
  • Very high velocity readings on short, fast flicks - normal; a quick flick covers real distance in very little time, producing a high but genuine velocity number.

Browser Limitations

This test relies on standard pointer events, which work consistently across touchscreens, mice, and touch-enabled trackpads, but it can only measure what's actually delivered to the browser - very fast swipes on lower-quality touch digitizers may occasionally register fewer intermediate points, though the final start and end positions used for this measurement remain accurate.

Common Mistakes to Avoid

  • Swiping too short a distance - motions under about 10 pixels are intentionally classified as taps rather than swipes, which mirrors how most real touch interfaces behave.
  • Starting the swipe outside the test box - only motion that both starts and ends within the arena is measured.
  • Judging swipe quality from a single attempt - try several swipes in different directions and speeds for a fuller picture of your device's touch tracking.

Frequently Asked Questions

Does this work with a mouse instead of a touchscreen?

Yes, this tool uses standard pointer events, which cover mouse drags the same way as touch swipes, so it works on non-touch devices too.

Why did my swipe register as a tap?

Motions under roughly 10 pixels of total distance are classified as taps rather than swipes, which mirrors how most real interfaces distinguish between the two gesture types.

What does the velocity number actually represent?

It's your swipe's total distance divided by how long the motion took, expressed in pixels per second - a genuine speed calculation from your real gesture, not an estimate.

Is my swipe data stored or sent anywhere?

No. Everything is calculated locally in your browser for each individual swipe and isn't saved between attempts or after leaving the page.

Can this test diagonal swipes?

The tool classifies every swipe into the nearest of four cardinal directions (up, down, left, right) based on its actual angle, so a diagonal swipe will register as whichever of those four is closest.

Conclusion

Swipe gestures are one of the most-used touch interactions on any modern device, and this gives you real, concrete numbers behind how your specific hardware handles them. For a broader multi-touch accuracy check, pair this with the Touch Screen Test.