That all depends on the subnet mask. Generally, you can follow this...
Class A - 255.0.0.0 - first octet is between 1-126
Class B - 255.255.0.0 - first octet is between 128-191
Class C - 255.255.255.0 - first octect is between 192-223
The above subnet masks are true if you aren't using a custom subnet mask, which you most likely aren't.
The broadcast address for the above masks is very simple to determine. Just take all the 0's and make them 255, and the 255's are replaced by your network ID. For example...
Network ID - 192.168.1.0
Subnet Mask - 255.255.255.0
Broadcast - 192.168.1.255
To be on the above network, you must have a IP address of 192.168.1.x, where x can be any number between 1 and 254.
Of course, this all changes with IPv6, but thats another story....
ChrisP