Typically, ceiling joists are built 16 or 24 inches on center, which implies they are approximately 16 or 24 inches apart. Once you've identified the first, the remaining ones are much easier to locate. If all you need to know is which direction the joists travel, gain access to the attic and inspect.