Rinse and drain black beans thoroughly.
Drain canned corn completely.
Dice red bell pepper into small pieces.
Finely chop the red onion.
Add beans, corn, pepper, and onion to bowl.
Add chopped cilantro to the mixture.
Add avocado if using, gently mix in.
Squeeze lime juice over the salad.
Drizzle with olive oil evenly.
Sprinkle in cumin and chili powder.
Add salt and pepper to taste.
Toss everything together until well combined.
Chill in fridge for 30 minutes.
Serve cold and enjoy every bite!