---
name: "diag_fps"
type: command
status: ok
groups: ["Diagnostic", "Performance Profiling"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/diag_fps
revid: 379331
updated: 2026-10-30T23:52:18Z
---

# diag_fps

*Command · Diagnostic, Performance Profiling · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Returns average framerate calculated over last 16 frames.

## Syntax

```sqf
diag_fps
```

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
diag_log diag_fps;
```

## See also

[diag_fpsMin](../commands/diag_fpsMin.md) · [diag_frameNo](../commands/diag_frameNo.md) · [diag_log](../commands/diag_log.md) · [diag_tickTime](../commands/diag_tickTime.md) · [diag_deltaTime](../commands/diag_deltaTime.md)

## Community notes

**DreadedEntity** — 2014-11-19

The engine will always calculate the last 16 frames without caring if they are frames in which the loading screen was drawn, or actual mission frames.

<sub>Source: [BI Community Wiki — diag fps](https://community.bistudio.com/wiki/diag_fps) (revision 379331).</sub>
