Copycat Wendy’s Chili

Facebook
X
LinkedIn
Pinterest
Email
Print
Threads

There is something about a warm bowl of Wendy’s chili that just hits the spot. It’s hearty, full of tender ground beef, loaded with beans, and has that perfectly seasoned tomato broth that makes you want to go back for another spoonful. The good news? You can make a homemade version right in your own kitchen, and I think you might love it even more than the original.
This copycat Wendy’s chili recipe has everything you love about the fast-food favorite, including savory ground beef, kidney beans, pinto beans, tomatoes, green peppers, and a blend of spices that gives every bite that familiar flavor. The best part is that it all comes together in one pot with simple pantry ingredients.
Whether you’re craving a cozy dinner, feeding a hungry family, or looking for an easy meal to make ahead for the week, this homemade Wendy’s chili checks every box. It is thick enough to be hearty but still has that slightly brothy consistency that makes Wendy’s chili different from traditional thick Texas-style chili.
And yes, it tastes even better the next day!

My Favorite Pot for Making Homemade Chili

A good pot makes all the difference when cooking a big batch of homemade chili, and my Caraway Dutch Oven is one of my favorites! The naturally slick, non-toxic ceramic-coated surface makes browning ground beef, sautéing vegetables, and simmering this copycat Wendy’s chili a breeze. The Dutch oven distributes heat evenly, helping all those delicious flavors come together without scorching the bottom. Plus, cleanup is so easy, which is always a win after making a hearty one-pot dinner. I love that Caraway cookware is made without PFAS, PTFE, and PFOA, and it looks beautiful sitting on my stovetop. If you’re ready to give your kitchen a little upgrade, shop Caraway Home with a built-in discount applied at checkout!

Why You’ll Love This Copycat Wendy’s Chili Recipe

If you have ever found yourself ordering a bowl of chili from Wendy’s instead of a burger, you already know why this recipe deserves a spot in your dinner rotation.

  • Tastes like the restaurant favorite: The combination of ground beef, beans, tomatoes, and seasonings creates that familiar Wendy’s-inspired flavor.

  • Made with everyday ingredients: No unusual spices or hard-to-find ingredients. You probably have most of what you need in your pantry.

  • Perfect for meal prep: This chili reheats beautifully and develops even more flavor after sitting overnight.

  • Budget-friendly: Ground beef, canned beans, and tomatoes make a filling dinner without spending a fortune.

  • Freezer-friendly: Make a double batch and save half for a busy weeknight.

  • Easy to customize: Make it spicier, thicker, or lighter depending on how you like your chili.

  • One-pot dinner: Everything cooks together in one large pot, which means less cleanup.

What Makes Wendy’s Chili Different From Homemade Chili?

Not all chili recipes are the same, and Wendy’s chili has a few characteristics that make it stand out.
First, the beef is broken into relatively small pieces instead of large, chunky crumbles. This gives the chili a more even texture and makes sure you get a little beef in almost every spoonful.
Second, Wendy’s chili contains both kidney beans and pinto beans. The combination adds a hearty texture without making the chili too thick.
The tomato base is another big difference. Instead of being extremely thick or heavily spiced, Wendy’s chili has a slightly thinner, tomato-rich broth with mild heat and a savory finish.
Finally, the vegetables matter. Onion, celery, and green bell pepper bring a subtle sweetness and help create that classic fast-food chili flavor.
The goal with this homemade version is to recreate those familiar flavors while giving you control over the ingredients, seasoning, and consistency.

Ingredients for Copycat Wendy’s Chili

One of my favorite things about this easy ground beef chili recipe is how simple the ingredient list is. Everything works together to create a hearty bowl of chili without requiring hours of preparation.

Ground Beef

Use 2 pounds of ground beef, preferably 85/15 or 90/10. Ground beef with a little fat adds flavor, but you do not need an extremely fatty blend. Breaking the beef into small pieces while browning helps recreate the texture of Wendy’s chili.

Kidney Beans

Dark red kidney beans add a firm, hearty texture and hold their shape during simmering. Drain and rinse them before adding them to the pot.

Pinto Beans

Pinto beans are softer and creamier than kidney beans, giving the chili a nice balance of textures. Using both varieties is one of the easiest ways to get closer to the original.

Crushed Tomatoes

Crushed tomatoes create the rich tomato base. They also help give the chili body without turning it into a thick meat sauce.

Diced Tomatoes

Diced tomatoes add little pieces of tomato throughout the chili. Use the juices from the can for extra flavor.

Tomato Sauce

Tomato sauce brings everything together and gives the broth a smooth, slightly thicker consistency.

Yellow Onion

A diced yellow onion adds sweetness and savory flavor as it cooks.

Green Bell Pepper

Green bell pepper is an important ingredient in this recipe. It adds a slightly earthy, fresh flavor that balances the tomatoes and beef.

Celery

Finely diced celery adds another layer of flavor without overpowering the chili.

Chili Powder

Chili powder provides the warm, savory seasoning that gives chili its familiar taste. Use a mild American-style chili powder blend rather than pure ground hot chile pepper.

Ground Cumin

Cumin adds an earthy flavor that pairs beautifully with the beef, beans, and tomatoes.

Garlic Powder and Onion Powder

These seasonings round out the flavor and help create that classic chili taste.

Beef Broth

Beef broth adds savory flavor and helps create the slightly thinner consistency associated with Wendy’s chili. Low-sodium broth makes it easier to control the salt.

White Vinegar

A small splash of white vinegar at the end brightens the tomato flavor and balances the richness of the beef. It is a little trick that makes a difference without making the chili taste sour.

How to Make Copycat Wendy’s Chili at Home

Making homemade Wendy’s chili is easier than you might think. The most important part is allowing the ingredients enough time to simmer together so the flavors develop.

Step 1: Brown the Ground Beef

Heat a large Dutch oven or heavy-bottomed stockpot over medium-high heat.
Add the ground beef and cook for approximately 8 to 10 minutes, breaking it into small, even crumbles with a wooden spoon as it browns.
You want the beef fully cooked with no pink remaining. Drain off excess grease, leaving a small amount behind for flavor.

Step 2: Cook the Vegetables

Add the diced onion, green bell pepper, and celery to the pot with the cooked ground beef.
Cook over medium heat for approximately 5 to 7 minutes, stirring occasionally, until the vegetables begin to soften.
This step helps bring out their natural sweetness and gives the chili a better flavor than simply adding everything to the pot at once.

Step 3: Add the Seasonings

Sprinkle the chili powder, cumin, garlic powder, onion powder, paprika, salt, black pepper, oregano, and optional cayenne over the beef and vegetables.
Stir continuously for about 30 to 60 seconds.
Allowing the spices to warm briefly helps release their aroma and brings out their flavor.

Step 4: Add the Tomatoes and Broth

Pour in the crushed tomatoes, diced tomatoes with their juices, tomato sauce, and beef broth.
Stir everything together, scraping the bottom of the pot to release any browned bits.
Bring the mixture to a gentle boil.

Step 5: Add the Beans

Stir in the drained and rinsed kidney beans and pinto beans.
Reduce the heat to low and allow the chili to simmer gently, partially covered, for 45 to 60 minutes.
Stir occasionally to prevent sticking.
The chili should gradually thicken while still maintaining a slightly brothy consistency.

Step 6: Finish With Vinegar

Once the chili has finished simmering, stir in the white vinegar.
Taste and adjust the salt, pepper, or chili powder as needed.
If the tomatoes taste particularly acidic, add up to 1 teaspoon of sugar to balance the flavor.

Step 7: Serve and Enjoy

Ladle the hot chili into bowls and serve with your favorite toppings.
For the full Wendy’s-inspired experience, try shredded cheddar cheese, diced onions, and a few saltine crackers.
You can also add sour cream, jalapeños, or a sprinkle of green onions.

The Secret to Making Chili Taste Like Wendy’s

If your goal is to make a copycat Wendy’s chili that actually reminds you of the restaurant version, a few small details can make a big difference.

Break the Beef Into Small Pieces

Wendy’s chili has a relatively fine ground beef texture. Avoid leaving large chunks of beef in the pot.
Use a wooden spoon or meat chopper to break the beef into small crumbles as it cooks. This helps distribute the meat evenly throughout the chili.

Use Two Types of Beans

Kidney beans and pinto beans have different textures, and using both makes the finished chili more interesting.
Kidney beans stay firm while pinto beans become slightly softer as they simmer.

Don’t Make the Chili Too Thick

Traditional homemade chili can be thick enough to stand a spoon in, but Wendy’s chili has more of a tomato-based broth.
Start with 2 cups of beef broth and allow the chili to simmer gently. If it becomes too thick, add another ¼ to ½ cup of broth until it reaches your preferred consistency.

Let the Chili Simmer

You can technically eat the chili once everything is heated through, but giving it at least 45 minutes to simmer makes a noticeable difference.
The tomatoes mellow, the seasonings blend, and the beef absorbs the flavors of the broth.

Don’t Skip the Green Pepper and Celery

These vegetables might seem like small additions, but they help create the flavor associated with Wendy’s chili.
Dice them finely so they soften into the sauce without leaving large pieces.

How to Thicken Wendy’s Chili

If your chili turns out thinner than you prefer, there are several easy ways to thicken it without changing the flavor too much.
Simmer uncovered: Remove the lid and allow the chili to simmer for an additional 10 to 15 minutes. Some of the liquid will evaporate naturally.
Mash a few beans: Remove about ½ cup of the beans, mash them with a fork, and stir them back into the pot. This creates a thicker texture without adding flour.
Add tomato paste: Stir in 1 to 2 tablespoons of tomato paste and simmer for another 5 minutes.
Use a cornstarch slurry: Mix 1 tablespoon of cornstarch with 1 tablespoon of cold water. Stir it into the simmering chili and cook until thickened.
For a Wendy’s-style consistency, I recommend simmering uncovered before trying anything else. You want the chili hearty but still spoonable.

How to Make Copycat Wendy’s Chili in a Slow Cooker

This recipe is also perfect for the slow cooker, especially when you want dinner ready without standing over the stove.

Slow Cooker Instructions

  1. Brown the ground beef in a skillet over medium-high heat until fully cooked. Drain excess grease.

  2. Transfer the beef to a 6-quart or larger slow cooker.

  3. Add the diced onion, green bell pepper, celery, tomatoes, tomato sauce, beans, broth, and seasonings.

  4. Stir until everything is combined.

  5. Cover and cook on LOW for 6 to 8 hours or HIGH for 3 to 4 hours, until the vegetables are tender.

  6. Stir in the white vinegar during the final 10 minutes.

  7. Taste and adjust the seasonings before serving.
    For slow cooker chili, start with 1 cup of beef broth instead of 2 cups because less moisture evaporates during cooking. Add more broth at the end if needed.

Can You Make Wendy’s Chili in the Instant Pot?

Yes! The Instant Pot is a great option when you want homemade chili without a long stovetop simmer.

Instant Pot Instructions

  1. Select the Sauté function and brown the ground beef, breaking it into small pieces.

  2. Drain excess grease, then add the onion, green pepper, and celery. Cook for 3 to 4 minutes.

  3. Stir in the seasonings and cook for 30 seconds.

  4. Pour in 1 cup of beef broth and scrape the bottom of the pot thoroughly to remove browned bits.

  5. Add the beans, crushed tomatoes, diced tomatoes, and tomato sauce. Layer the thicker tomato ingredients on top without stirring them into the bottom.

  6. Secure the lid and set the valve to Sealing.

  7. Pressure cook on HIGH for 10 minutes.

  8. Allow a 10-minute natural pressure release, then carefully release any remaining pressure.

  9. Stir in the white vinegar and adjust the seasonings.

  10. If needed, use the Sauté function to simmer uncovered until the chili reaches your desired thickness.
    Make sure your Instant Pot is large enough for the recipe and that the ingredients stay below the maximum fill line.

Best Toppings for Wendy’s Copycat Chili

One of the best things about chili is how many different ways you can serve it.
Here are some of my favorite toppings:

  • Freshly shredded sharp cheddar cheese

  • Finely diced yellow or white onion

  • Sour cream

  • Sliced jalapeños

  • Chopped green onions

  • Crushed saltine crackers

  • Tortilla strips

  • Diced avocado

  • A dash of hot sauce
    For a classic Wendy’s-inspired bowl, keep it simple with cheddar cheese, onions, and crackers.

What to Serve With Homemade Wendy’s Chili

This hearty ground beef chili is filling enough to serve on its own, but a few sides can turn it into a complete dinner.

Homemade Cornbread

Warm cornbread is one of the best things to serve with chili. The slightly sweet flavor pairs perfectly with the savory tomato broth.

Baked Potatoes

Spoon a generous serving of chili over a fluffy baked potato and finish with shredded cheddar cheese and sour cream.
It is an easy way to turn leftover chili into another meal.

French Fries

Want to recreate the fast-food experience at home? Serve your chili over crispy French fries and add melted cheddar cheese for homemade chili cheese fries.

Grilled Cheese Sandwiches

A buttery grilled cheese sandwich is perfect for dipping into a warm bowl of chili.

Simple Green Salad

If you want something lighter on the side, a fresh green salad with a tangy vinaigrette balances the richness of the chili.

Easy Variations and Ingredient Substitutions

This copycat Wendy’s chili recipe is easy to adjust depending on your preferences and what you have available.

Make It Spicy

Wendy’s chili is fairly mild, but you can increase the heat by adding extra cayenne pepper, diced jalapeños, or a few dashes of your favorite hot sauce.

Use Ground Turkey

Substitute the ground beef with an equal amount of ground turkey for a lighter version.
Since turkey is leaner, you may want to add a tablespoon of olive oil when browning the meat.

Make It Without Beans

If you prefer beanless chili, omit the kidney beans and pinto beans.
Keep in mind that the result will be different from Wendy’s traditional chili. You can add another ½ to 1 pound of ground beef for a meatier version and reduce the broth as needed.

Add More Vegetables

Finely diced carrots, zucchini, or mushrooms can be added for extra vegetables.
Cook them with the onions and peppers so they soften before the chili simmers.

Make It Gluten-Free

The ingredients in this homemade recipe can be gluten-free, but always check the labels on your beef broth, canned tomatoes, and seasonings to make sure they meet your dietary needs.

Make It Dairy-Free

The chili itself contains no added dairy when prepared with dairy-free broth and seasonings. Simply skip the cheese and sour cream toppings.

How to Store Leftover Wendy’s Chili

One of the reasons I love making a large pot of chili is that the leftovers are just as good, if not better, the next day.

Refrigerator Storage

Allow the chili to cool slightly, then transfer it into shallow airtight containers and refrigerate within 2 hours of cooking.
Store in the refrigerator for up to 3 to 4 days.

How to Freeze Chili

Homemade chili freezes beautifully, making it perfect for meal prep.
Allow the chili to cool safely, then portion it into freezer-safe containers or resealable freezer bags.
Leave a little space for expansion and freeze for up to 3 months for the best quality.
Label each container with the date so you know when it was made.

How to Reheat Chili

Stovetop: Place the chili in a saucepan over medium-low heat and stir occasionally until heated thoroughly.
Microwave: Transfer an individual portion to a microwave-safe bowl, cover loosely, and heat in intervals, stirring between each interval.
From frozen: Thaw overnight in the refrigerator before reheating.
Reheat leftovers to an internal temperature of 165°F. If the chili has thickened during storage, add a splash of beef broth or water to loosen it.

Make-Ahead Tips for the Best Homemade Chili

If you have time, make this chili a day before you plan to serve it.
As the chili sits in the refrigerator, the spices and tomato flavors have more time to blend together. When reheated, the flavor often tastes richer and more balanced.
For parties, game day gatherings, or family dinners, prepare the chili the night before and reheat it on the stovetop or in a slow cooker.
If serving from a slow cooker, use the warm setting only after the chili has been reheated thoroughly, and keep it at 140°F or hotter.

Common Mistakes to Avoid When Making Copycat Wendy’s Chili

Using Large Chunks of Ground Beef

Large pieces of beef can make the chili feel more like a traditional chunky beef stew.
Break the meat into small crumbles for a texture closer to Wendy’s chili.

Adding Too Much Chili Powder

More seasoning does not always mean better flavor.
Start with the recommended amount, let the chili simmer, and taste before adding more.

Not Cooking the Vegetables Long Enough

Raw onion, celery, and bell pepper can leave the chili with a sharp vegetable flavor.
Cooking them before adding the liquid helps soften their texture and mellow their taste.

Cooking at Too High a Temperature

A hard boil can reduce the broth too quickly and cause the beans to break apart.
Keep the chili at a gentle simmer and stir occasionally.

Skipping the Final Taste Test

Canned tomatoes, broth, and spices can vary between brands.
Taste the chili before serving and adjust the salt, acidity, or heat until it tastes just right.

More Recipes to Try

If you love this copycat Wendy’s chili recipe, here are a few more comforting meals worth adding to your dinner rotation.

Before You Go

Sometimes the best comfort food is the kind that reminds you of something familiar, and this copycat Wendy’s chili is exactly that.
It has tender ground beef, two kinds of beans, a rich tomato broth, and just enough seasoning to make every spoonful delicious. It is easy enough for a weeknight dinner, makes fantastic leftovers, and can be prepared on the stovetop, in the slow cooker, or in the Instant Pot.

The next time you are craving Wendy’s chili, skip the drive-thru and make a big pot at home. Add your favorite toppings, grab a handful of crackers, and enjoy a warm bowl of homemade comfort food.

Frequently Asked Questions About Copycat Wendy’s Chili

What is Wendy’s chili made of?

Wendy’s chili is known for its combination of seasoned beef, beans, tomatoes, peppers, onions, celery, and spices in a tomato-based broth. This homemade copycat recipe uses similar ingredients to recreate the familiar flavor and texture.

What kind of beans are in Wendy’s chili?

Wendy’s chili contains kidney beans and pinto beans. Using both gives the chili a combination of firm and creamy textures.

Is Wendy’s chili spicy?

Wendy’s chili is generally mild, with more savory seasoning than intense heat. This homemade version follows that same approach, but you can add cayenne pepper or hot sauce if you prefer spicy chili.

How do you make homemade chili taste like Wendy’s?

Use finely crumbled ground beef, kidney beans, pinto beans, tomatoes, green bell pepper, celery, and mild chili seasonings. Let the chili simmer until the flavors blend, and keep the consistency slightly brothy instead of extremely thick.

Can I make Wendy’s chili without a slow cooker?

Absolutely! This recipe is designed for the stovetop using a Dutch oven or large stockpot. The slow cooker and Instant Pot methods are simply alternatives.

Can I use fresh tomatoes instead of canned tomatoes?

Yes, but canned tomatoes provide a more consistent flavor and texture. If using fresh tomatoes, peel and chop them, then simmer the chili longer to allow the tomatoes to break down. You may need to adjust the broth.

Why does my homemade chili taste too acidic?

Some canned tomatoes are more acidic than others. A small amount of sugar can help balance the flavor. Simmering the chili longer and adding the vinegar only after tasting can also help prevent an overly sharp finish.

Can I make this chili ahead of time?

Yes! This chili is an excellent make-ahead recipe. Prepare it one day in advance, refrigerate it, and reheat it before serving. The flavors often taste even better the next day.

Can you freeze copycat Wendy’s chili?

Yes. Freeze cooled chili in airtight freezer-safe containers for up to 3 months for the best quality. Thaw overnight in the refrigerator and reheat thoroughly before serving.

How long does homemade Wendy’s chili last in the refrigerator?

Properly stored homemade chili will keep in the refrigerator for approximately 3 to 4 days.

Is copycat Wendy’s chili healthy?

This homemade version provides protein from ground beef and fiber from beans. Using lean ground beef and low-sodium broth can help reduce fat and sodium compared with richer chili recipes. The nutrition will depend on your ingredients and serving size.

Can I double this recipe for a crowd?

Yes! This recipe doubles well for parties, potlucks, and game day gatherings. Use a large stockpot and allow enough time for the chili to heat evenly. You may need to extend the simmering time slightly.

Homemade copycat Wendy’s chili in a rustic ceramic bowl with ground beef, kidney beans, pinto beans, shredded cheddar cheese, and diced onions.

Wendy's Chili Recipe (copycat)

This homemade copycat Wendy’s chili is loaded with seasoned ground beef, kidney beans, pinto beans, tomatoes, and vegetables simmered in a rich, savory broth. It tastes just like your favorite fast-food chili, only homemade!
Prep Time 15 minutes
Cook Time 1 hour 10 minutes
Total Time 1 hour 25 minutes
Course Main Course
Cuisine American
Servings 10
Calories 365 kcal

Ingredients
  

  • 2 pounds lean ground beef 85/15 or 90/10
  • 1 large yellow onion finely diced
  • 1 medium green bell pepper finely diced
  • 2 stalks celery finely diced
  • 1 28-oz can crushed tomatoes
  • 1 14.5-oz can diced tomatoes, undrained
  • 1 15-oz can tomato sauce
  • 1 15-oz can dark red kidney beans, drained and rinsed
  • 1 15-oz can pinto beans, drained and rinsed
  • 2 cups low-sodium beef broth
  • 3 tablespoons mild chili powder
  • 2 teaspoons ground cumin
  • 1 teaspoon garlic powder
  • 1 teaspoon onion powder
  • 1 teaspoon paprika
  • 1 teaspoon kosher salt plus more to taste
  • ½ teaspoon freshly ground black pepper
  • ½ teaspoon dried oregano
  • ¼ teaspoon cayenne pepper optional
  • 1 teaspoon granulated sugar optional
  • 2 teaspoons white vinegar

Instructions
 

  • Brown the beef: In a large Dutch oven over medium-high heat, cook the ground beef for 8 to 10 minutes, breaking it into small crumbles. Drain excess grease.
  • Cook the vegetables: Add the diced onion, green bell pepper, and celery. Cook for 5 to 7 minutes until softened.
  • Add the seasonings: Stir in chili powder, cumin, garlic powder, onion powder, paprika, salt, pepper, oregano, and optional cayenne. Cook for 30 to 60 seconds until fragrant.
  • Add the tomatoes: Pour in the crushed tomatoes, diced tomatoes with their juices, tomato sauce, and beef broth. Stir well and bring to a gentle boil.
  • Add the beans: Stir in the kidney beans and pinto beans. Reduce heat to low and simmer partially covered for 45 to 60 minutes, stirring occasionally.
  • Finish the chili: Stir in the white vinegar. Taste and adjust seasonings. Add the optional sugar if the tomatoes taste too acidic.
  • Serve: Ladle into bowls and top with shredded cheddar cheese, diced onions, sour cream, or saltine crackers.

Notes

Recipe Notes

  • For authentic Wendy’s-style texture: Break the ground beef into very small crumbles and keep the chili slightly brothy.
  • For thicker chili: Simmer uncovered for an additional 10 to 15 minutes.
  • Slow cooker: Brown the beef first, then combine ingredients in a 6-quart or larger slow cooker using 1 cup of broth. Cook on LOW for 6 to 8 hours or HIGH for 3 to 4 hours. Add vinegar at the end.
  • Storage: Refrigerate in airtight containers for 3 to 4 days.
  • Freezing: Freeze for up to 3 months for the best quality.

Estimated Nutrition Per Serving

  • Calories: 365 kcal
  • Protein: 29 g
  • Carbohydrates: 31 g
  • Fat: 14 g
  • Saturated Fat: 5 g
  • Fiber: 10 g
  • Sugar: 9 g
  • Sodium: 750 mg
Nutrition values are estimates and will vary depending on ingredients and serving sizes.
Keyword chili, slow cooker, Wendy's chili
Picture of Stacie

Stacie

Hello out there! My name is Stacie.

I'm a home baker whose guilty pleasure is homemade food and desserts. My blog is for the non-professionals, the at-home bakers and cooks, lovers of desserts, and anyone who desires delicious food right from home.

For daily recipes delivered straight to your inbox, sign up now!

Nothing is better than a homemade meal or dessert made from scratch, except the reward when the whole dish is devoured by your guests. Questions, comments, idea are all welcomed!

Sign Up Here!

Most LATEST Recipe

Copycat Olive Garden Zuppa Toscana soup with Italian sausage, sliced potatoes, crispy bacon, and kale in a creamy broth.

Olive Garden Zuppa Toscana Soup (Copycat)

Creamy sausage tortellini soup with Italian sausage, cheese tortellini, spinach, diced tomatoes, and Parmesan in a rustic ceramic bowl.

Creamy Sausage Tortellini Soup

Homemade Halloween Monster Popcorn coated in gooey green marshmallow slime and topped with candy eyeballs

Halloween Monster Popcorn

Silver fork lifting a fudgy chocolate brownie bite with creamy cheesecake from a homemade Halloween ghost brownie.

Ghost Cheesecake Brownies

Pumpkin-Shaped Baked Brie in Puff Pastry

Pumpkin sticky buns arranged on an off-white serving platter with maple brown sugar topping and chopped pecans.

Pumpkin Sticky Buns with Maple Pecan Topping