def calculate_offset(page_size: int, page_number: int) -> int:
    """
    SysAid receives offset and page_size arguments. To follow our convention, we receive page_size and page_number arguments and
    calculate the offset from them.
    The offset is the start point from which to retrieve values, zero based. It starts at 0.

    :param page_size: The number of results to show in one page.
    :param page_number: The page number to show, starts at 1.
    """
    return page_size * (page_number - 1)