Simulation of cleaning is a new area in building simulations. To make rational cleaning is it important to know how difficult it is to clean rooms. I define a Cleaning Index (CI) as the cleaning area divided by the floor area. High CI is difficult to clean. A simulation program CIX calculates the CI based on an object-oriented 3D model of a room in the VRML-format. The program will find all horizontal surfaces, where the dust can settle. The result is presented in graphical form or in tables. Use of the method is shown for a classroom and two offices. The simulation of cleaning is very useful in planning, design, operation and maintenance of the building. Cleaning costs is much more important than the energy costs. The 3D model in VRML can also be used for internal heat- and moisture balance and for indoor air quality evaluations.