Prompting fundamentals

Prompting fundamentals

Prompt engineering is the process of designing and refining your input in a way that helps ChatGPT give the best possible answer. It’s about figuring out how to ask so you get the result you want—whether that’s a clear summary, comprehensive report, or detailed analysis.ChatGPT works best when you give it clear instructions.

There’s no single “perfect” way to write a prompt. Think of it as a conversation with a colleague, where you might need to adjust your phrasing or tone to help them understand what you need. Experimentation and iteration are the best ways to discover how AI can be most useful to you.

## Simple steps for writing a good prompt

#### 1. Outline the task

Be clear about what you need ChatGPT to do. Outline what you want, who it’s for, and why it matters. _Tip: Use an action verb, like “plan” or “draft” or “research.”_

#### 2. Give helpful context

Add any background or documentation that will help, including external sources like files, images, or documents. Learn more about working with files or apps.

#### 3. Describe your ideal output

Tell ChatGPT how you want the response. Include details like tone, format, length, audience, and any constraints so the output matches your needs.

## Try it on your own

Open ChatGPT⁠(opens in a new window) and try out the three prompts below. Notice how the model responds, then try again by tweaking your prompt to add more context or guidance.

OkayBetterBest Explain machine learning.Explain how machine learning works using a simple everyday analogy.

#### More helpful tips for writing prompts

## Continue learning with OpenAI Academy

Discover additional guides and resources to help you build practical AI skills.

Personalizing ChatGPT OpenAI Academy Apr 10, 2026

Working with files in ChatGPT OpenAI Academy Apr 10, 2026

Research with ChatGPT OpenAI Academy Apr 10, 2026

Our Research * Research Index * Research Overview * Research Residency * OpenAI for Science * Economic Research

Latest Advancements * GPT-5.3 Instant * GPT-5.3-Codex * GPT-5 * Codex

Safety * Safety Approach * Security & Privacy * Trust & Transparency

ChatGPT * Explore ChatGPT(opens in a new window) * Business * Enterprise * Education * Pricing(opens in a new window) * Download(opens in a new window)

Sora * Sora Overview * Features * Pricing * Sora log in(opens in a new window)

API Platform * Platform Overview * Pricing * API log in(opens in a new window) * Documentation(opens in a new window) * Developer Forum(opens in a new window)

For Business * Business Overview * Solutions * Contact Sales

Company * About Us * Our Charter * Foundation(opens in a new window) * Careers * Brand

Support * Help Center(opens in a new window)

More * News * Stories * Livestreams * Podcast * RSS

Terms & Policies * Terms of Use * Privacy Policy * Other Policies

(opens in a new window)(opens in a new window)(opens in a new window)(opens in a new window)(opens in a new window)(opens in a new window)(opens in a new window)

OpenAI © 2015–2026 Manage Cookies

English United States

This editorial summary reflects OpenAI and other public reporting on Prompting fundamentals.

Reviewed by WTGuru editorial team.