A separator and a preparation method for the separator, a battery including the separator, and an electric device including the battery. The separator includes polysilsesquioxane, the polysilsesquioxane having a D90 particle size of a μm, a D10 particle size of b μm, and a D50 particle size of c μm, where (a−b)/c≤3.