The formula for the ionic compound formed from aluminum and oxygen is Al2O3. This compound is commonly known as aluminum oxide. It is a white, crystalline solid that is insoluble in water. Aluminum oxide is a widely used material in various industries, including ceramics, abrasives, and as a refractory material due to its high melting point and chemical inertness.