Documentation sections
Power Amplifier Gain Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug power-amplifier-gain. Calculate amplifier gain in dB from input and output voltage or power. Get voltage gain (V/V and dB) and power gain (W/W and dB) — useful for setting amp gain, matching levels, and system design.
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 |
|---|---|---|---|---|
| inputVoltagenumber | V | at least 0.001 | 1 | Input Voltage (RMS) |
| outputVoltagenumber | V | at least 0.001 | 28 | Output Voltage (RMS) |
| inputPowernumber | mW | at least 0.001 | 0.1 | Power consumed by amplifier input |
| outputPowernumber | W | at least 0.001 | 100 | Output Power |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| voltageGain | V/V | Voltage Gain |
| voltageGainDbheadline | dB | Voltage Gain |
| powerGain | W/W | Power Gain |
| powerGainDb | dB | Power Gain |
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.