---
title: "gb in bytes · RUAL Documentation"
description: "Converts an amount of gigabytes (GB) to bytes. Binary/1024-based: 1 GB = 1,073,741,824 bytes."
canonical: https://docs.rual.nl/block-types/number/number_gb_to_bytes
language: en
---

# gb in bytes

This block is part of the [`number`](https://docs.rual.nl/block-types/number) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Converts an amount of gigabytes (GB) to bytes. Binary/1024-based: 1 GB = 1,073,741,824 bytes.

- GB required `number` amount of gigabytes

- bytes `number`

| `gigabytes` |
| --- |
| `bytes` |
| `size` |
| `filesize` |

A typical wiring for [GB in bytes](https://docs.rual.nl/block-types/number/number_gb_to_bytes): the `number` out pin feeds [cast to value](https://docs.rual.nl/block-types/type%20casting/number_convert_to_value).

![Studio canvas example for the GB in bytes block: typical wiring for GB in bytes.](https://docs.rual.nl/canvas-examples/number_gb_to_bytes.png)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
