Materials classified as “nanoporous” have structures (or “frameworks”) with pores up to 100 nm in diameter. These include diverse materials used in different fields from gas separation, catalysis, and even medicine (e.g. activated charcoal). The performance of nanoporous materials depends on both their chemical composition and the shape of their pores, but the latter is very difficult to quantify. So far, chemists rely on visual inspection to see whether two materials have similar pores. EPFL scientists, in the framework of NCCR-MARVEL, have now developed an innovative mathematical method that allows a computer to quantify similarity of pore structures. The method makes it possible to search databases with hundreds of thousands of nanoporous materials to discover new materials with the right pore structure. The work is published in Nature Communications.