Documentation sections
Data Rate Unit Converter
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug data-rate-units. Convert data rates instantly: bps ↔ kbps ↔ Mbps ↔ Gbps and bytes/sec. Includes presets for UART (9600 bps), CAN (1 Mbps), Ethernet (100 Mbps), and GbE. Also converts baud rate to kbps.
Inputs
Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| bpsnumber | bps | at least 0 | 1000000 | Data Rate |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| kbps | kbps | Kilobits/sec |
| mbpsheadline | Mbps | Megabits/sec |
| gbps | Gbps | Gigabits/sec |
| bytesPerSecond | B/s | Bytes/sec |
| kBps | kB/s | Kilobytes/sec |
| mBps | MB/s | Megabytes/sec |
Calling it
- Calculate: one call, the request and response in full, and its errors.
- Batch: this calculator with others, or a sweep, in one request.
- Solve for a target: the value of one input that brings an output to a target.