Prompt Engineering

The ChatGPT Prompt Formula: 6 Parts and Templates (2026)

The 6-part ChatGPT prompt formula (role, task, context, format, constraints, example) with before-and-after examples and ready-to-use business templates.

Athar Ahmad
Reviewed by Athar AhmadFounder & CEO · Written by the SA Solutions team
Published April 20, 2025 Updated November 6, 2026 3 min read
On this page
  1. The 6-part ChatGPT prompt formula
  2. Before and after
  3. Ready-to-use business prompt templates
  4. Five habits that make prompts work in 2026
  5. Frequently asked questions

Better prompts get better answers, and the formula is simpler than most people think. Every strong ChatGPT prompt answers six questions: who should ChatGPT be, what should it do, what does it need to know, what should the result look like, what are the rules, and what does good look like? Here is the formula, with ready-to-use business templates.

Updated November 2026 for GPT-6.

The 6-part ChatGPT prompt formula

Role + Task + Context + Format + Constraints + Example. You will not need all six every time, but the more important the output, the more of them you should include.

1. Role

Tell ChatGPT who to be. “You are an experienced B2B copywriter” sets expertise and tone.

2. Task

State exactly what you want, with a clear verb: write, summarise, compare, plan, critique.

3. Context

Give the background it cannot guess: your audience, goal, product, constraints and any files or examples. In 2026 you can attach files or work inside a Space so context is already there.

4. Format

Say what the output should look like: a table, five bullet points, an email under 150 words, a slide outline. GPT-6 can choose formats such as comparisons or interactive tools on its own, but asking for one is still the fastest way to get exactly what you need.

5. Constraints

Set the rules: word limits, tone, what to avoid, language and reading level.

6. Examples

Show one example of what good looks like. A single example often improves results more than paragraphs of instructions.

Before and after

Weak prompt: “Write a post about our new app.”

Strong prompt: “You are a product marketer (role). Write a LinkedIn post announcing our new booking app (task) for clinic owners who lose patients to missed appointments (context). Format it as a hook line plus four short paragraphs (format), under 180 words with no hype words (constraints). Match the tone of this post: [example] (example).”

Ready-to-use business prompt templates

Copy these, replace the brackets and adjust to your business.

Customer email

You are a friendly customer success manager. Write a reply to the customer email below. Context: they are frustrated about a delayed order; we can offer free shipping on their next order. Format: under 120 words, plain text. Constraints: apologise once, no jargon. [paste email]

Meeting summary

You are an executive assistant. Summarise the attached meeting transcript. Format: three sections: decisions, action items with owners and dates, open questions. Constraints: maximum 200 words.

Competitor comparison

You are a market analyst. Compare these three competitors on price, target customer, key features and weaknesses. Context: we sell to [audience]. Format: a comparison table, then three recommendations for us.

Social post

You are a LinkedIn ghostwriter for a founder. Turn the blog post below into a LinkedIn post. Format: a strong first line, five short paragraphs, one question at the end. Constraints: no hashtags in the body, under 200 words. Example of our tone: [paste a past post].

Five habits that make prompts work in 2026

  • Ask it to ask you first. End with “Ask me any questions you need before you start.”
  • Iterate, do not restart. Refine the answer with short follow-ups: “shorter”, “more formal”, “add examples”.
  • Give it real material. Attach files, transcripts or past examples instead of describing them.
  • Reuse what works. Save your best prompts as templates for your team.
  • Check facts. Verify numbers, names and claims before you publish.

Want AI to do more than answer prompts? See the ChatGPT features worth using in 2026, the 26 best AI tools other than ChatGPT, or estimate what AI automation could save your team with our free AI automation calculator.

Frequently asked questions

What is the best ChatGPT prompt formula?

Role, task, context, format, constraints and an example. Start with task, context and format, and add the others when the output matters.

How long should a ChatGPT prompt be?

As long as it needs to be. A clear two-line prompt can work for simple tasks; important tasks deserve a paragraph of context and an example.

Do prompt formulas still matter with GPT-6?

Yes. Newer models are better at guessing what you want, but clear context, format and an example still give faster, more accurate results.

Athar Ahmad
Athar AhmadFounder & CEO, SA Solutions · Certified Bubble.io Developer

Athar has spent more than 8 years building digital products and leads every SA Solutions project, from Bubble.io apps to AI automation for small and growing businesses. Read our editorial standards.

Other posts

Ready to put AI to work?

Book a free 30-minute call, or start with a $345 AI automation audit.

Book a free callSee the AI audit