# SIZE_CONSTANTS

```ts
const SIZE_CONSTANTS: object;
```

Defined in: [packages/synapse-core/src/utils/constants.ts:34](https://github.com/FilOzone/synapse-sdk/blob/1d6c4b9fe34534bf1087dfe41491b72be0b46858/packages/synapse-core/src/utils/constants.ts#L34)

Data size constants

## Type Declaration

### DEFAULT\_UPLOAD\_BATCH\_SIZE

```ts
readonly DEFAULT_UPLOAD_BATCH_SIZE: 32 = 32;
```

Default number of uploads to batch together in a single addPieces transaction
This balances gas efficiency with reasonable transaction sizes

### GiB

```ts
readonly GiB: bigint;
```

Bytes in 1 GiB

### KiB

```ts
readonly KiB: 1024n = 1024n;
```

Bytes in 1 KiB

### MAX\_UPLOAD\_SIZE

```ts
readonly MAX_UPLOAD_SIZE: number;
```

Maximum upload size (200 MiB)
Current limitation for PDP uploads

### MiB

```ts
readonly MiB: bigint;
```

Bytes in 1 MiB

### MIN\_UPLOAD\_SIZE

```ts
readonly MIN_UPLOAD_SIZE: 127 = 127;
```

Minimum upload size (127 bytes)
PieceCIDv2 calculation requires at least 127 bytes payload

### PiB

```ts
readonly PiB: bigint;
```

Bytes in 1 PiB

### TiB

```ts
readonly TiB: bigint;
```

Bytes in 1 TiB