← All tool references

Engineering · not_available

Buoyancy Calculator

Calculate buoyant force from fluid density, displaced volume, object mass, gravity.

Open public tool

Overview

Category
Engineering
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/buoyancy-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/buoyancy-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

fluid_density · number · required
Enter fluid density.
displaced_volume · number · required
Enter displaced volume.
object_mass · number · required
Enter object mass.
gravity · number · required
Enter gravity.
{
    "type": "object",
    "properties": {
        "fluid_density": {
            "type": "number",
            "description": "Enter fluid density."
        },
        "displaced_volume": {
            "type": "number",
            "description": "Enter displaced volume."
        },
        "object_mass": {
            "type": "number",
            "description": "Enter object mass."
        },
        "gravity": {
            "type": "number",
            "description": "Enter gravity."
        }
    },
    "required": [
        "fluid_density",
        "displaced_volume",
        "object_mass",
        "gravity"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

buoyant_force · number
Buoyant force produced by the tool.
weight_force · number
Object weight produced by the tool.
net_force · number
Net vertical force produced by the tool.
state · string
Idealized state produced by the tool.
{
    "type": "object",
    "properties": {
        "buoyant_force": {
            "type": "number",
            "description": "Buoyant force produced by the tool."
        },
        "weight_force": {
            "type": "number",
            "description": "Object weight produced by the tool."
        },
        "net_force": {
            "type": "number",
            "description": "Net vertical force produced by the tool."
        },
        "state": {
            "type": "string",
            "description": "Idealized state produced by the tool."
        }
    },
    "additionalProperties": false
}

Buoyancy Calculator worked example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/buoyancy-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "fluid_density": 1000,
    "displaced_volume": 0.08000000000000000166533453693773481063544750213623046875,
    "object_mass": 65,
    "gravity": 9.8066499999999994230392985627986490726470947265625
}'
{
    "ok": true,
    "data": {
        "slug": "buoyancy-calculator",
        "result": {
            "values": {
                "buoyant_force": 784.529999999999972715158946812152862548828125,
                "weight_force": 637.4299999999999499777914024889469146728515625,
                "net_force": 147.099999999999994315658113919198513031005859375,
                "state": "Positive idealized buoyancy"
            },
            "display": {
                "display": "784.53"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.