It’s both! All that depends on how you match it. For example, it would be considered formal if you match it with some wool trousers and a dress shirt. And when you dress it with some jeans and a t-shirt, you’re more casual.