Swipe Counter
Count recognized swipe gestures.
Tap, click or press Space to keep count.
Tap anywhere inside or press Space
How the Swipe Counter Works
The Swipe Counter adds 1 each time a finger moves at least 50 px across the screen within 500 ms. Short movements and slow drags do not count as swipes.
- Place a finger: Touch anywhere on the swipe area.
- Flick across the screen: Move the finger at least 50 px (13.2 mm) in one fast stroke.
- Lift to finish: The swipe counts on release when distance and speed pass the rules.
- Read the stats: See total swipes, average distance and average speed.
Swipe Counter Formula
The Swipe Counter adds 1 when swipe distance is at least the distance limit and swipe velocity is at least the speed limit.
- Δx, Δy
- Horizontal and vertical movement
- Duration
- Time from touch start to touch end
- Velocity
- Speed in pixels per millisecond
Example: A finger moves 180 px right and 20 px down in 150 ms. Distance = 181.1 px. Velocity = 1.21 px/ms. Both pass, so the count rises by 1.
Swipe Counter Reference Table
The Swipe Counter conversion table converts swipe speed between pixels per millisecond, pixels per second and millimeters per second.
| px/ms | px/s | mm/s | in/s | Swipe type |
|---|---|---|---|---|
| 0.1 | 100 | 26 | 1.0 | Minimum swipe |
| 0.5 | 500 | 132 | 5.2 | Gentle swipe |
| 1.0 | 1,000 | 265 | 10.4 | Normal swipe |
| 2.0 | 2,000 | 529 | 20.8 | Fast flick |
| 4.0 | 4,000 | 1,058 | 41.7 | Very fast flick |
About the Swipe Counter
A Swipe Counter is a gesture counter that tallies fast directional strokes across a touchscreen. The tool separates swipes from taps and slow drags by measuring distance and speed.
Swipe gestures drive scrolling, page turning and dismiss actions. Platform guidelines set a minimum fling velocity, which Android defines as 50 dp per second, to tell a flick apart from a slow scroll.
Ways to Use the Swipe Counter
The Swipe Counter has 5 main uses, including swipe-game practice and screen edge testing.
- Swipe-game practice: Players count swipes in fruit-slicing and runner games.
- Screen edge testing: Technicians swipe across all edges to find dead strips.
- Gesture fatigue tests: Researchers count swipes in long scrolling sessions.
- Flashcard reviews: Students count cards swiped during study.
- Hand therapy: Therapists count swipe repetitions for wrist and finger exercises.
Tool Details
- Category
- Touch & Gesture Diagnostics
- Controls
- Taps and keys
- Input Support
- Touch, Pen, Mouse, Keys
- Offline Ready
- On your device