The answer depends on many things.
If the room is rectangule/square-shaped:
If the room is triangle-shaped:
If the room is circle-shaped:
Those are just some of the most common formulas to determine the area of a room. As you noticed, the shape of the room in question must be specified.