---
title: "Compute the result of raising a base to an exponent (base^exponent). Handles positive and negative exponents, fractional exponents, and zero. Returns the numeric result and a scientific notation string for very large or very small results. Useful for compound interest calculations, exponential growth/decay models, physics power laws, and combinatorics. The inverse of log_calc; chain with scientific_notation for formatted display of extreme values."
method: POST
path: "/api/exponent_calc"
tags: ["general"]
---

# Compute the result of raising a base to an exponent (base^exponent). Handles positive and negative exponents, fractional exponents, and zero. Returns the numeric result and a scientific notation string for very large or very small results. Useful for compound interest calculations, exponential growth/decay models, physics power laws, and combinatorics. The inverse of log_calc; chain with scientific_notation for formatted display of extreme values.

`POST /api/exponent_calc`

## Request

- Base URL: `https://calc.engineer`
- URL: `https://calc.engineer/api/exponent_calc`
- Auth: none declared

## Request body

- object
  - `base` number, required: The base number
  - `exponent` number, required: The exponent (power) to raise the base to

## Response `200`

Computed result for exponent_calc

- object
  - `result` object, required
    - `result` number, required: The computed value of base^exponent
    - `scientific_notation` string, required: Result in scientific notation for very large/small values
  - `tool` string, required
  - `version` string, required
  - `computed_at` string, date-time, required
  - `chain` object, required
    - `feeds` unknown[]
      - unknown
    - `accepts_from` unknown[]
      - unknown

## Other responses

- `400`: Validation error or invalid JSON
- `404`: Tool not found

---

[API](https://skmtc.dev/calc/apis/calc-engineer-api.md) · [All operations](https://skmtc.dev/calc/apis/calc-engineer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calc/apis/calc-engineer-api/revisions/8830480ec488?raw)
