import math


def compactness(area: float, bbox_volume: float) -> float:
    """
    It calculates the compactness of the shape using the shape's surface area
    and the axis-aligned bounding box volume
    ----------------------------
    Args:
        area (float): The area of the shape
        bbox_volume (float): The volume of the shape axis aligned bounding box

    Returns:
        compactness (float): The compactness of the shape
    """

    compactness = pow(area, 3) / (36 * math.pi * (pow(bbox_volume, 2)))
    return compactness