"We have more than 300 devices at our office"
Ok then use /23 that would give you 510 IPs to work.. More than enough IPs with room for growth even.
A /8 or /16 is not really a valid host mask.. Those masks are good for summary routing, firewall rules, etc.. But not meant to be used on an actual network with hosts. A /8 gives you 16.7 million IPs - you would never want anywhere close to that on the same broadcast domain.. To be honest /22 could be considered too many, unless are quiet hosts.. If they love to squawk broadcast/multicast like windows yeah prob too many..
Your other option when you go over the /24 for hosts is to segment your network. So all your hosts need to be on the same L2/Broadcast domain?? Do you not have different stuff, servers, printers, users, wifi that you might want to keep from talking to each other.. Different departments - Sales, Engineer, Finance, etc.. So you put them on different networks/vlans with pfsense say using /24 networks so 250 IPs each to work with and now you can firewall between them..
As mentioned already multiple times Classful networks A,B,C etc.. have been dead for long time - not sure where your getting your info.. But cidr (classless inter domain routing) or VLSM (variable length subnet masking) has been the standard since introduced - early 90's if I recall.. So to be honest unless your older then I am you shouldn't even remember having to be limited to classful.. I sure don't ;) And I have been working with networking before tcp/ip was even a thing.. hehehe I have been working on computers since before there really were computers and networks, and honestly do not recall ever being limited to classful masks.. Was never in a spot where oh.. yeah we need more than /24 have to use /16.. Back then used IPX and or netbeui and do recall having to go around and actually install tcp/ip on all the work computers.. Sweet 386's and 486's and such running windows for workgroups 3.1 etc..
Back then there were not so many devices that /24 wasn't HUGE…