def calculate_position(commands):
    """
    Calculate submarine position after executing commands (aim excluded).
    :param commands: list of read commands
    :return: final location
    """

    horizontal_position = commands.get('forward', 0)
    depth = commands.get('down', 0) - commands.get('up', 0)
    result = horizontal_position * depth
    return result