---
title: Const
slug: WebAssembly/Reference/Numeric/Const
tags:
  - WebAssembly
  - wasm
  - Reference
  - Numeric
---
{{WebAssemblySidebar}}

The **`const`** instructions, are used to declare numbers.

{{EmbedInteractiveExample("pages/wat/const.html")}}

## Syntax

```wasm
;; push `5` onto the stack
i32.const 5
```

| Instruction | Binary opcode |
| ----------- | ------------- |
| `i32.const` | `0x41`        |
| `i64.const` | `0x42`        |
| `f32.const` | `0x43`        |
| `f64.const` | `0x44`        |
