<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04" -->

---
title: The Math Behind Counter-Strike Surfing | daily.dev
description: Counter-Strike surfing speed comes from air strafing plus steep ramps, both exploiting Source engine movement rules. In the air there is no friction and the...
canonical: https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Math Behind Counter-Strike Surfing | daily.dev
og:description: Counter-Strike surfing speed comes from air strafing plus steep ramps, both exploiting Source engine movement rules. In the air there is no friction and the...
og:url: https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04
og:image: https://api.daily.dev/og/posts/IhZlxKU04.png
og:image:alt: The Math Behind Counter-Strike Surfing
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Math Behind Counter-Strike Surfing

**[Andrew Healey's Blog](https://daily.dev/sources/healeycodes)** · 14 min read · 0 upvotes · 0 comments

## Summary

Counter-Strike surfing speed comes from air strafing plus steep ramps, both exploiting Source engine movement rules. In the air there is no friction and the wish speed is capped at 30 u/s, so sweeping your view left and right builds speed past the 250 u/s ground limit. Surfaces steeper than 45.57° (normal z below 0.7) count as air, so gravity feeds speed along the ramp. The 3500 u/s velocity cap applies per axis, so diagonal travel reaches about 4950 u/s horizontally. The author's beam-search bot, with 120 puppets, finished surf_leet_xl_beta7z about 1.3 seconds behind the world record.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://healeycodes.com/the-math-behind-counter-strike-surfing>

## Questions this post answers

### Why can you gain speed by strafing in the air in Source engine games like Counter-Strike?

In the air there is no friction and the wish speed is cut from 250 to 30 u/s. Each tick the game lets you add speed toward your wish direction up to that 30 cap. Turning your view while holding a strafe key keeps that direction fresh, so speed keeps building instead of plateauing around 252 u/s.

_Developers studying game physics follow breakdowns like this on daily.dev._

### What is the maximum speed in Source engine with sv_maxvelocity 3500, and why can it be exceeded?

The sv_maxvelocity limit of 3500 u/s is applied per axis, not to total speed. Moving diagonally on x and y lets each reach 3500, giving about 4950 u/s horizontally. Adding falling on the z-axis raises the corner of the speed cube to roughly 6,062 u/s.

_Engine quirks like per-axis clamps are the kind of detail daily.dev surfaces for game devs._

### What ramp angle can you surf on in Counter-Strike and does tick rate matter?

Surfaces steeper than 45.57° (normal z below 0.7) are not ground, so friction and jumping disappear and air rules apply. Mappers typically work between about 46° and 68°. Tick rate matters: the steepest holdable ramp moves from about 68° at 66 tick to about 75° at 100 tick.

_Anyone tuning movement mechanics can keep up with similar deep dives on daily.dev._

## Similar posts on daily.dev

- [Your TV can see through walls](https://daily.dev/posts/your-tv-can-see-through-walls-ujqq9ugom) · Hacker News · 1 upvotes · 0 comments
- [I asked Lovable, Bolt, and Google AI Studio to build the same web app, and one is in a different league](https://daily.dev/posts/i-asked-lovable-bolt-and-google-ai-studio-to-build-the-same-web-app-and-one-is-in-a-different-lea-lpiaozzxq) · XDA Developers · 0 upvotes · 0 comments

---

Tags: [#game-development](https://daily.dev/tags/game-development)

[View this post on daily.dev](https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Math Behind Counter-Strike Surfing","url":"https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04"},"datePublished":"2026-11-27T08:52:43.063Z","dateModified":"2026-11-27T08:53:04.292Z","description":"Counter-Strike surfing speed comes from air strafing plus steep ramps, both exploiting Source engine movement rules. In the air there is no friction and the...","image":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","thumbnailUrl":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","isAccessibleForFree":true,"articleSection":"Andrew Healey's Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Andrew Healey's Blog","logo":"https://media.daily.dev/image/upload/s--sQ4y8SuR--/f_auto,q_auto/v1794732940/logos/healeycodes?_a=BAMAMiiw0","url":"https://daily.dev/sources/healeycodes"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Andrew Healey's Blog","item":"https://daily.dev/sources/healeycodes"},{"@type":"ListItem","position":3,"name":"The Math Behind Counter-Strike Surfing"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-math-behind-counter-strike-surfing-ihzlxku04#faq","mainEntity":[{"@type":"Question","name":"Why can you gain speed by strafing in the air in Source engine games like Counter-Strike?","acceptedAnswer":{"@type":"Answer","text":"In the air there is no friction and the wish speed is cut from 250 to 30 u/s. Each tick the game lets you add speed toward your wish direction up to that 30 cap. Turning your view while holding a strafe key keeps that direction fresh, so speed keeps building instead of plateauing around 252 u/s. Developers studying game physics follow breakdowns like this on daily.dev."}},{"@type":"Question","name":"What is the maximum speed in Source engine with sv_maxvelocity 3500, and why can it be exceeded?","acceptedAnswer":{"@type":"Answer","text":"The sv_maxvelocity limit of 3500 u/s is applied per axis, not to total speed. Moving diagonally on x and y lets each reach 3500, giving about 4950 u/s horizontally. Adding falling on the z-axis raises the corner of the speed cube to roughly 6,062 u/s. Engine quirks like per-axis clamps are the kind of detail daily.dev surfaces for game devs."}},{"@type":"Question","name":"What ramp angle can you surf on in Counter-Strike and does tick rate matter?","acceptedAnswer":{"@type":"Answer","text":"Surfaces steeper than 45.57° (normal z below 0.7) are not ground, so friction and jumping disappear and air rules apply. Mappers typically work between about 46° and 68°. Tick rate matters: the steepest holdable ramp moves from about 68° at 66 tick to about 75° at 100 tick. Anyone tuning movement mechanics can keep up with similar deep dives on daily.dev."}}]}
```

